summaryrefslogtreecommitdiff
path: root/gcc/ada/repinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/repinfo.h')
-rw-r--r--gcc/ada/repinfo.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/repinfo.h b/gcc/ada/repinfo.h
index 668f520ffa0..8d5ee6d652d 100644
--- a/gcc/ada/repinfo.h
+++ b/gcc/ada/repinfo.h
@@ -6,7 +6,7 @@
* *
* C Header File *
* *
- * Copyright (C) 1999-2009 Free Software Foundation, Inc. *
+ * Copyright (C) 1999-2011, Free Software Foundation, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
@@ -31,6 +31,10 @@
/* This file corresponds to the Ada file repinfo.ads. */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef Uint Node_Ref;
typedef Uint Node_Ref_Or_Val;
typedef char TCode;
@@ -75,3 +79,7 @@ typedef char TCode;
#define Create_Node repinfo__create_node
extern Node_Ref Create_Node (TCode, Node_Ref_Or_Val,
Node_Ref_Or_Val, Node_Ref_Or_Val);
+
+#ifdef __cplusplus
+}
+#endif