summaryrefslogtreecommitdiff
path: root/devel/readline/patches/patch-af
blob: 498c5bab701262c5e2b12c973230c26fdab13f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- history.h	Thu Jul 23 12:13:23 1998
+++ history.h	Thu May 22 22:37:53 1997
@@ -22,6 +22,10 @@
 #ifndef _HISTORY_H_
 #define _HISTORY_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #if !defined (_FUNCTION_DEF)
 #  define _FUNCTION_DEF
 typedef int Function ();
@@ -219,5 +223,9 @@
    history expansion should be treated as a special case for the calling
    application and not expanded. */
 extern Function *history_inhibit_expansion_function;
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* !_HISTORY_H_ */