summaryrefslogtreecommitdiffstats
path: root/libdwfl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-05-27 18:19:23 +0000
committerUlrich Drepper <drepper@redhat.com>2006-05-27 18:19:23 +0000
commit41cbd7620b0851da148d8aa2d1c21fd304024bba (patch)
tree9363c4c23871dd09e6740703bb5900b8e5d20929 /libdwfl
parent3be744790cfa3d8614fe81b1e398c505a7025915 (diff)
downloadandroid_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/ChangeLog4
-rw-r--r--libdwfl/libdwfl.h8
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 */