diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2003-12-25 18:09:17 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2003-12-25 18:09:17 +0000 |
commit | f4891f2bc616611692d76a4b04cdafb492044a1c (patch) | |
tree | 8f2eabbae84d603d0f2d5355a85815858081e2a0 | |
parent | 7ff2e12f3e2367e1a873e9242f15364b0234ae7f (diff) |
restore #ifdef __cplusplus around demangler prototypes.
Restore comment that was lost.
-rw-r--r-- | gnu/lib/libiberty/include/demangle.h | 8 | ||||
-rw-r--r-- | gnu/lib/libiberty/include/libiberty.h | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gnu/lib/libiberty/include/demangle.h b/gnu/lib/libiberty/include/demangle.h index 21e9dd33820..bff266931c8 100644 --- a/gnu/lib/libiberty/include/demangle.h +++ b/gnu/lib/libiberty/include/demangle.h @@ -23,6 +23,10 @@ #include "ansidecl.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* Options passed to cplus_demangle (in 2nd parameter). */ #define DMGL_NO_OPTS 0 /* For readability... */ @@ -160,4 +164,8 @@ enum gnu_v3_dtor_kinds { extern enum gnu_v3_dtor_kinds is_gnu_v3_mangled_dtor PARAMS ((const char *name)); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* DEMANGLE_H */ diff --git a/gnu/lib/libiberty/include/libiberty.h b/gnu/lib/libiberty/include/libiberty.h index 9c773343d39..676ceaba4a9 100644 --- a/gnu/lib/libiberty/include/libiberty.h +++ b/gnu/lib/libiberty/include/libiberty.h @@ -155,7 +155,7 @@ extern long get_run_time PARAMS ((void)); extern char *make_relative_prefix PARAMS ((const char *, const char *, const char *)); -/* Choose a temporary directory to use for scratch files, DEPRECATED */ +/* Choose a temporary directory to use for scratch files. */ extern char *choose_temp_base PARAMS ((void)) ATTRIBUTE_MALLOC; |