diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-05-26 19:55:51 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-05-26 19:55:51 +0100 |
commit | ab9b814d258a26fc74f370b8fdb2b9250088794c (patch) | |
tree | 8ae9afd49a97e37e10c11657a0e4da727f351258 /gcc/pretty-print.h | |
parent | bdd715238c97721534b7f7fd8e915ba045b6d2dc (diff) | |
download | gcc-ab9b814d258a26fc74f370b8fdb2b9250088794c.zip gcc-ab9b814d258a26fc74f370b8fdb2b9250088794c.tar.gz gcc-ab9b814d258a26fc74f370b8fdb2b9250088794c.tar.bz2 |
pretty-print.c: Don't include ggc.h.
* 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.
From-SVN: r159898
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 c3c3e6d..a2e3c40 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 */ |