diff options
author | Ian Lance Taylor <ian@wasabisystems.com> | 2004-02-24 02:32:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2004-02-24 02:32:30 +0000 |
commit | 795b4c374c210e33714bad66c68cfdfd3a0bdd81 (patch) | |
tree | adfe3aa1d158a7b964a2259a2a9c08fb2bee0d79 | |
parent | bbb00ead7e40d2da7b27473fd6fb68445e0d9463 (diff) | |
download | gcc-795b4c374c210e33714bad66c68cfdfd3a0bdd81.zip gcc-795b4c374c210e33714bad66c68cfdfd3a0bdd81.tar.gz gcc-795b4c374c210e33714bad66c68cfdfd3a0bdd81.tar.bz2 |
dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and the associated #defines.
* dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
the associated #defines.
From-SVN: r78346
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/dyn-string.h | 29 |
2 files changed, 5 insertions, 29 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index e2fa68f..4e1ab9f 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> + + * dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and + the associated #defines. + 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com> * demangle.h: Instead of checking ANSI_PROTOTYPES, just include diff --git a/include/dyn-string.h b/include/dyn-string.h index 2a771c7..aa5e385 100644 --- a/include/dyn-string.h +++ b/include/dyn-string.h @@ -40,35 +40,6 @@ typedef struct dyn_string (strcmp ((DS1)->s, (DS2)->s)) -/* dyn_string functions are used in the demangling implementation - included in the G++ runtime library. To prevent collisions with - names in user programs, the functions that are used in the - demangler are given implementation-reserved names. */ - -#if defined(IN_LIBGCC2) || defined(IN_GLIBCPP_V3) - -#define dyn_string_init __cxa_dyn_string_init -#define dyn_string_new __cxa_dyn_string_new -#define dyn_string_delete __cxa_dyn_string_delete -#define dyn_string_release __cxa_dyn_string_release -#define dyn_string_resize __cxa_dyn_string_resize -#define dyn_string_clear __cxa_dyn_string_clear -#define dyn_string_copy __cxa_dyn_string_copy -#define dyn_string_copy_cstr __cxa_dyn_string_copy_cstr -#define dyn_string_prepend __cxa_dyn_string_prepend -#define dyn_string_prepend_cstr __cxa_dyn_string_prepend_cstr -#define dyn_string_insert __cxa_dyn_string_insert -#define dyn_string_insert_cstr __cxa_dyn_string_insert_cstr -#define dyn_string_insert_char __cxa_dyn_string_insert_char -#define dyn_string_append __cxa_dyn_string_append -#define dyn_string_append_cstr __cxa_dyn_string_append_cstr -#define dyn_string_append_char __cxa_dyn_string_append_char -#define dyn_string_substring __cxa_dyn_string_substring -#define dyn_string_eq __cxa_dyn_string_eq - -#endif /* IN_LIBGCC2 || IN_GLIBCPP_V3 */ - - extern int dyn_string_init PARAMS ((struct dyn_string *, int)); extern dyn_string_t dyn_string_new PARAMS ((int)); extern void dyn_string_delete PARAMS ((dyn_string_t)); |