Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit make this useable from c++.
details: https://anonhg.NetBSD.org/src/rev/e9807aab4b67
branches: trunk
changeset: 581968:e9807aab4b67
user: christos <christos%NetBSD.org@localhost>
date: Sun Jun 12 06:58:21 2005 +0000
description:
make this useable from c++.
diffstat:
lib/libedit/histedit.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 558e9f397b39 -r e9807aab4b67 lib/libedit/histedit.h
--- a/lib/libedit/histedit.h Sun Jun 12 05:49:12 2005 +0000
+++ b/lib/libedit/histedit.h Sun Jun 12 06:58:21 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: histedit.h,v 1.26 2005/05/07 16:01:25 dsl Exp $ */
+/* $NetBSD: histedit.h,v 1.27 2005/06/12 06:58:21 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -46,6 +46,10 @@
#include <sys/types.h>
#include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* ==== Editing ====
*/
@@ -212,4 +216,8 @@
int tok_str(Tokenizer *, const char *,
int *, const char ***);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _HISTEDIT_H_ */
Home |
Main Index |
Thread Index |
Old Index