summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/system.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index cf776884..a6fec309 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-02 Ulrich Drepper <[email protected]>
+
+ * system.h: Declare __cxa_demangle.
+
2011-07-09 Roland McGrath <[email protected]>
* sha1.c (be64_copy): New function.
diff --git a/lib/system.h b/lib/system.h
index 26954264..8e32c3a1 100644
--- a/lib/system.h
+++ b/lib/system.h
@@ -102,4 +102,9 @@ extern int crc32_file (int fd, uint32_t *resp);
#define ARGP_PROGRAM_BUG_ADDRESS_DEF \
const char *const apba__ __asm ("argp_program_bug_address")
+
+/* The demangler from libstdc++. */
+extern char *__cxa_demangle (const char *mangled_name, char *output_buffer,
+ size_t *length, int *status);
+
#endif /* system.h */