SUNOS is spelt __SunOS. Add missing prototypes.
This commit is contained in:
parent
b90ea1cecf
commit
2157800b5b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sys.h,v 1.9 2004/01/17 17:57:40 christos Exp $ */
|
||||
/* $NetBSD: sys.h,v 1.10 2009/02/06 20:08:13 sketch Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -101,6 +101,15 @@ char *fgetln(FILE *fp, size_t *len);
|
||||
#define REGEX /* Use POSIX.2 regular expression functions */
|
||||
#undef REGEXP /* Use UNIX V8 regular expression functions */
|
||||
|
||||
#ifdef __SunOS
|
||||
extern int tgetent(char *, const char *);
|
||||
extern int tgetflag(char *);
|
||||
extern int tgetnum(char *);
|
||||
extern int tputs(const char *, int, int (*)(int));
|
||||
extern char* tgoto(const char*, int, int);
|
||||
extern char* tgetstr(char*, char**);
|
||||
#endif
|
||||
|
||||
#ifdef notdef
|
||||
# undef REGEX
|
||||
# undef REGEXP
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: term.c,v 1.47 2008/09/10 15:45:37 christos Exp $ */
|
||||
/* $NetBSD: term.c,v 1.48 2009/02/06 20:08:13 sketch Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -37,7 +37,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: term.c,v 1.47 2008/09/10 15:45:37 christos Exp $");
|
||||
__RCSID("$NetBSD: term.c,v 1.48 2009/02/06 20:08:13 sketch Exp $");
|
||||
#endif
|
||||
#endif /* not lint && not SCCSID */
|
||||
|
||||
@ -61,7 +61,7 @@ __RCSID("$NetBSD: term.c,v 1.47 2008/09/10 15:45:37 christos Exp $");
|
||||
#include <ncurses.h>
|
||||
#endif
|
||||
/* Solaris's term.h does horrid things. */
|
||||
#if (defined(HAVE_TERM_H) && !defined(SUNOS))
|
||||
#if (defined(HAVE_TERM_H) && !defined(__SunOS))
|
||||
#include <term.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user