summaryrefslogtreecommitdiff
path: root/libebl
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 /libebl
parent3be744790cfa3d8614fe81b1e398c505a7025915 (diff)
downloadelfutils-41cbd7620b0851da148d8aa2d1c21fd304024bba.tar.gz
Add extern "C" for libdwfl.h and libebl.h.
Diffstat (limited to 'libebl')
-rw-r--r--libebl/ChangeLog4
-rw-r--r--libebl/libebl.h10
2 files changed, 13 insertions, 1 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog
index 532c4eca..01dba09e 100644
--- a/libebl/ChangeLog
+++ b/libebl/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-27 Ulrich Drepper <drepper@redhat.com>
+
+ * libebl.h: Add extern "C".
+
2005-11-25 Roland McGrath <roland@redhat.com>
* eblregname.c: New file.
diff --git a/libebl/libebl.h b/libebl/libebl.h
index c27e734b..30146345 100644
--- a/libebl/libebl.h
+++ b/libebl/libebl.h
@@ -1,5 +1,5 @@
/* Interface for libebl.
- Copyright (C) 2000, 2001, 2002, 2004, 2005 Red Hat, Inc.
+ Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -63,6 +63,10 @@
typedef struct ebl Ebl;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Get backend handle for object associated with ELF handle. */
extern Ebl *ebl_openbackend (Elf *elf);
/* Similar but without underlying ELF file. */
@@ -289,4 +293,8 @@ extern void ebl_gstrtabfinalize (struct Ebl_GStrtab *st, Elf_Data *data);
/* Get offset in wide char string table for string associated with SE. */
extern size_t ebl_gstrtaboffset (struct Ebl_GStrent *se);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* libebl.h */