$NetBSD: patch-af,v 1.2 1998/08/07 10:40:28 agc Exp $ --- 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_ */