From c3572d2769f9a3aba665d0c2fd5295a5084b312a Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 31 May 1998 20:12:06 +0000 Subject: Allow this to include from C++ programs. PR: 2382 Submitted by: Peter Jeremy --- lib/libcurses/curses.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h index 15c97771c66a..3491a2f124f8 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_ */ -- cgit v1.3