summaryrefslogtreecommitdiffstats
path: root/lib/libncurses
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-11-21 23:03:23 +0000
committerache <ache@FreeBSD.org>1994-11-21 23:03:23 +0000
commitb13d509f6f8e627656f8af1bd5f262a63f31121f (patch)
tree51a7159c008a4d2bedc3f6b9481bea9c1f898d23 /lib/libncurses
parent8677be039b739f1e6c3cb6e42bcccdcf94c92c9b (diff)
downloadFreeBSD-src-b13d509f6f8e627656f8af1bd5f262a63f31121f.zip
FreeBSD-src-b13d509f6f8e627656f8af1bd5f262a63f31121f.tar.gz
Make this file more BSD-like
Diffstat (limited to 'lib/libncurses')
-rw-r--r--lib/libncurses/termcap.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/libncurses/termcap.h b/lib/libncurses/termcap.h
index 05c86ca..9a5dd32 100644
--- a/lib/libncurses/termcap.h
+++ b/lib/libncurses/termcap.h
@@ -1,15 +1,10 @@
-
-
#ifndef _TERMCAP_H
#define _TERMCAP_H 1
-#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
-
#include <sys/cdefs.h>
+__BEGIN_DECLS
+
extern char PC;
extern char *UP;
extern char *BC;
@@ -25,8 +20,6 @@ extern int tputs __P((const char *, int, int (*)(int)));
extern char *tgoto __P((const char *, int, int));
extern char *tparam __P((const char *, char *, int, ...));
-#ifdef __cplusplus
-}
-#endif
+__END_DECLS
#endif /* _TERMCAP_H */
OpenPOWER on IntegriCloud