summaryrefslogtreecommitdiffstats
path: root/lib/libcurses
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-05-31 20:12:06 +0000
committersteve <steve@FreeBSD.org>1998-05-31 20:12:06 +0000
commitab46ab788d4d787d6074db8ba2e909cc5f013772 (patch)
tree4e79e81e5c5e488962aaa004cbf459b7e367d8f9 /lib/libcurses
parent19ad2aa63b82a877a2b1485a9812dcf6e7757ea9 (diff)
downloadFreeBSD-src-ab46ab788d4d787d6074db8ba2e909cc5f013772.zip
FreeBSD-src-ab46ab788d4d787d6074db8ba2e909cc5f013772.tar.gz
Allow this to include from C++ programs.
PR: 2382 Submitted by: Peter Jeremy <perer.jeremy@alcatel.com.au>
Diffstat (limited to 'lib/libcurses')
-rw-r--r--lib/libcurses/curses.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h
index 15c9777..3491a2f 100644
--- a/lib/libcurses/curses.h
+++ b/lib/libcurses/curses.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)curses.h 8.3 (Berkeley) 7/27/94
- * $Id$
+ * $Id: curses.h,v 1.14 1997/08/23 23:23:07 steve Exp $
*/
#ifndef _CURSES_H_
@@ -278,6 +278,7 @@ extern char *ttytype; /* Full name of current terminal. */
#define winch(w) \
((w)->lines[(w)->cury]->line[(w)->curx].ch & 0377)
+__BEGIN_DECLS
/* Public function prototypes. */
int box __P((WINDOW *, int, int));
int cbreak __P((void));
@@ -388,5 +389,6 @@ int tgetnum __P((const char *));
int tgetflag __P((const char *));
char *tgetstr __P((const char *, char **));
char *tgoto __P((const char *, int, int));
+__END_DECLS
#endif /* !_CURSES_H_ */
OpenPOWER on IntegriCloud