summaryrefslogtreecommitdiff
path: root/usr.bin/vi/include
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-09-23 07:12:47 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-09-23 07:12:47 +0000
commit105a204fd2ed1b7514e2bf44df67cdd55e998b30 (patch)
treeda85a758856c4b928172f618d562e4bf57b88f7d /usr.bin/vi/include
parentec4ea0144d35ecdd92b9eec095340b0023f8c401 (diff)
Make building with ocurses/termcap and curses/termlib conditional on
USE_OCURSES being defined, and define it for now. This switches nvi back to use BSD curses.
Diffstat (limited to 'usr.bin/vi/include')
-rw-r--r--usr.bin/vi/include/cl_extern.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/vi/include/cl_extern.h b/usr.bin/vi/include/cl_extern.h
index bafeb944e96..1da69e6b3cd 100644
--- a/usr.bin/vi/include/cl_extern.h
+++ b/usr.bin/vi/include/cl_extern.h
@@ -53,4 +53,8 @@ int cl_fmap __P((SCR *, seq_t, CHAR_T *, size_t, CHAR_T *, size_t));
int cl_optchange __P((SCR *, int, char *, u_long *));
int cl_omesg __P((SCR *, CL_PRIVATE *, int));
int cl_ssize __P((SCR *, int, size_t *, size_t *, int *));
+#ifdef USE_OCURSES
+void cl_putchar __P((int));
+#else
int cl_putchar __P((int));
+#endif