diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-05-27 18:19:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-27 18:19:23 +0000 |
commit | 41cbd7620b0851da148d8aa2d1c21fd304024bba (patch) | |
tree | 9363c4c23871dd09e6740703bb5900b8e5d20929 /libdwfl | |
parent | 3be744790cfa3d8614fe81b1e398c505a7025915 (diff) | |
download | android_external_elfutils-41cbd7620b0851da148d8aa2d1c21fd304024bba.tar.gz android_external_elfutils-41cbd7620b0851da148d8aa2d1c21fd304024bba.tar.bz2 android_external_elfutils-41cbd7620b0851da148d8aa2d1c21fd304024bba.zip |
Add extern "C" for libdwfl.h and libebl.h.
Diffstat (limited to 'libdwfl')
-rw-r--r-- | libdwfl/ChangeLog | 4 | ||||
-rw-r--r-- | libdwfl/libdwfl.h | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog index 34f8f46f..1a49526d 100644 --- a/libdwfl/ChangeLog +++ b/libdwfl/ChangeLog @@ -1,3 +1,7 @@ +2006-05-27 Ulrich Drepper <drepper@redhat.com> + + * libdwfl.h: Add extern "C". + 2006-05-22 Ulrich Drepper <drepper@redhat.com> * cu.c (addrarange): Handle files without aranges information. diff --git a/libdwfl/libdwfl.h b/libdwfl/libdwfl.h index 07cf9b09..170ba3e0 100644 --- a/libdwfl/libdwfl.h +++ b/libdwfl/libdwfl.h @@ -89,6 +89,10 @@ typedef struct } Dwfl_Callbacks; +#ifdef __cplusplus +extern "C" { +#endif + /* Start a new session with the library. */ extern Dwfl *dwfl_begin (const Dwfl_Callbacks *callbacks); @@ -403,4 +407,8 @@ extern int dwfl_module_register_names (Dwfl_Module *mod, void *arg); +#ifdef __cplusplus +} +#endif + #endif /* libdwfl.h */ |