diff options
Diffstat (limited to 'gcc/ada/adadecode.h')
-rw-r--r-- | gcc/ada/adadecode.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/adadecode.h b/gcc/ada/adadecode.h index 8ae890726db..73dda238a09 100644 --- a/gcc/ada/adadecode.h +++ b/gcc/ada/adadecode.h @@ -6,7 +6,7 @@ * * * C Header File * * * - * Copyright (C) 2001-2009, Free Software Foundation, Inc. * + * Copyright (C) 2001-2011, Free Software Foundation, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -29,6 +29,10 @@ * * ****************************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif + /* This function will return the Ada name from the encoded form. The Ada coding is done in exp_dbug.ads and this is the inverse function. see exp_dbug.ads for full encoding rules, a short description is added @@ -51,3 +55,7 @@ extern void get_encoding (const char *, char *); function used in the binutils and GDB. Always consider using __gnat_decode instead of ada_demangle. Caller must free the pointer returned. */ extern char *ada_demangle (const char *); + +#ifdef __cplusplus +} +#endif |