summaryrefslogtreecommitdiff
path: root/lib/libcurses/term_entry.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-18 19:10:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-18 19:10:28 +0000
commit2ab6a45cb794e8f5ff7b3d8c9fe25b0ef0f5b669 (patch)
tree68bbd31bb6b70c640ee51637367f12996de516f7 /lib/libcurses/term_entry.h
parent369038865daffb176f8616ac082675a6e8116a0f (diff)
ncurses-4.2-990116
Diffstat (limited to 'lib/libcurses/term_entry.h')
-rw-r--r--lib/libcurses/term_entry.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libcurses/term_entry.h b/lib/libcurses/term_entry.h
index f99c1a02ff2..69be127a0ff 100644
--- a/lib/libcurses/term_entry.h
+++ b/lib/libcurses/term_entry.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: term_entry.h,v 1.1 1998/07/23 21:20:05 millert Exp $ */
+/* $OpenBSD: term_entry.h,v 1.2 1999/01/18 19:09:16 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -41,6 +41,10 @@
#ifndef _TERM_ENTRY_H
#define _TERM_ENTRY_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define MAX_USES 32
typedef struct entry {
@@ -86,6 +90,8 @@ extern bool _nc_entry_match(char *, char *);
extern int _nc_resolve_uses(void);
extern void _nc_free_entries(ENTRY *);
-#endif /* _TERM_ENTRY_H */
+#ifdef __cplusplus
+}
+#endif
-/* term_entry.h ends here */
+#endif /* _TERM_ENTRY_H */