aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/symtab.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2009-06-01 15:37:03 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2009-06-01 15:37:03 +0000
commit4851089fc69c0a249ff82f307829b47dc3856ee0 (patch)
treeabfa6a7597c6532d5cb5aad4f89f160ec834b685 /libcpp/include/symtab.h
parentdb868e1edfabd88ca30f61e1b8e11155dc2a7ba5 (diff)
downloadgcc-4851089fc69c0a249ff82f307829b47dc3856ee0.zip
gcc-4851089fc69c0a249ff82f307829b47dc3856ee0.tar.gz
gcc-4851089fc69c0a249ff82f307829b47dc3856ee0.tar.bz2
cpp-id-data.h: Add extern "C".
* include/cpp-id-data.h: Add extern "C". * include/line-map.h: Likewise. * include/mkdeps.h: Likewise. * include/symtab.h: Likewise. * internal.h: Likewise. From-SVN: r148051
Diffstat (limited to 'libcpp/include/symtab.h')
-rw-r--r--libcpp/include/symtab.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libcpp/include/symtab.h b/libcpp/include/symtab.h
index e7c5937..e1bc00c 100644
--- a/libcpp/include/symtab.h
+++ b/libcpp/include/symtab.h
@@ -20,6 +20,11 @@ along with this program; see the file COPYING3. If not see
#define LIBCPP_SYMTAB_H
#include "obstack.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef GTY
#define GTY(x) /* nothing */
#endif
@@ -99,4 +104,8 @@ extern void ht_load (hash_table *ht, hashnode *entries,
/* Dump allocation statistics to stderr. */
extern void ht_dump_statistics (hash_table *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LIBCPP_SYMTAB_H */