diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-26 18:55:51 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-26 18:55:51 +0000 |
commit | ddcdd2ab7d6166eb09bb7f5689570c03d71a29f3 (patch) | |
tree | 8ae9afd49a97e37e10c11657a0e4da727f351258 /gcc/pretty-print.h | |
parent | ce9d56e640b762da6e1f209fcb6d6c92d8fcf7e1 (diff) | |
download | gcc-ddcdd2ab7d6166eb09bb7f5689570c03d71a29f3.tar.gz |
* pretty-print.c: Don't include ggc.h.
(identifier_to_locale_alloc, identifier_to_locale_free): Define.
(identifier_to_locale): Use them for allocation.
* pretty-print.h (identifier_to_locale_alloc,
identifier_to_locale_free): Declare.
* toplev.c (alloc_for_identifier_to_locale): New.
(general_init): Set identifier_to_locale_alloc and
identifier_to_locale_free.
* Makefile.in (pretty-print.o): Update dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159898 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/pretty-print.h')
-rw-r--r-- | gcc/pretty-print.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h index c3c3e6dc4dd..a2e3c40a882 100644 --- a/gcc/pretty-print.h +++ b/gcc/pretty-print.h @@ -339,5 +339,7 @@ pp_set_verbatim_wrapping_ (pretty_printer *pp) #define pp_set_verbatim_wrapping(PP) pp_set_verbatim_wrapping_ (pp_base (PP)) extern const char *identifier_to_locale (const char *); +extern void *(*identifier_to_locale_alloc) (size_t); +extern void (*identifier_to_locale_free) (void *); #endif /* GCC_PRETTY_PRINT_H */ |