diff options
-rw-r--r-- | lib/libcurses/term_entry.h | 4 | ||||
-rw-r--r-- | lib/libcurses/tinfo/read_bsd_terminfo.c | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/libcurses/term_entry.h b/lib/libcurses/term_entry.h index a7dc1c1b83d..85236c000e1 100644 --- a/lib/libcurses/term_entry.h +++ b/lib/libcurses/term_entry.h @@ -1,4 +1,4 @@ -/* $OpenBSD: term_entry.h,v 1.4 1999/01/23 18:31:02 millert Exp $ */ +/* $OpenBSD: term_entry.h,v 1.5 1999/02/01 20:55:40 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -90,9 +90,11 @@ extern bool _nc_entry_match(char *, char *); extern int _nc_resolve_uses(void); extern void _nc_free_entries(ENTRY *); +#ifdef __OpenBSD__ /* read_bsd_terminfo.c: terminfo.db reading */ extern int _nc_read_bsd_terminfo_entry(const char * const, char * const, TERMTYPE *const); extern int _nc_read_bsd_terminfo_file(const char * const, TERMTYPE *const); +#endif /* __OpenBSD__ */ #ifdef __cplusplus } diff --git a/lib/libcurses/tinfo/read_bsd_terminfo.c b/lib/libcurses/tinfo/read_bsd_terminfo.c index caf95ee8ce0..211e4c3e052 100644 --- a/lib/libcurses/tinfo/read_bsd_terminfo.c +++ b/lib/libcurses/tinfo/read_bsd_terminfo.c @@ -1,7 +1,7 @@ -/* $OpenBSD: read_bsd_terminfo.c,v 1.3 1999/01/23 18:31:02 millert Exp $ */ +/* $OpenBSD: read_bsd_terminfo.c,v 1.4 1999/02/01 20:55:41 millert Exp $ */ /* - * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> + * Copyright (c) 1998, 1999 Todd C. Miller <Todd.Miller@courtesan.com> * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> * All rights reserved. * @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: read_bsd_terminfo.c,v 1.3 1999/01/23 18:31:02 millert Exp $"; +static char rcsid[] = "$OpenBSD: read_bsd_terminfo.c,v 1.4 1999/02/01 20:55:41 millert Exp $"; #endif #include <curses.priv.h> @@ -92,7 +92,7 @@ _nc_read_bsd_terminfo_entry(tn, filename, tp) return (1); } } - return(0); + return (0); } /* |