diff options
Diffstat (limited to 'usr.bin/vim/osdef.h')
-rw-r--r-- | usr.bin/vim/osdef.h | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/usr.bin/vim/osdef.h b/usr.bin/vim/osdef.h new file mode 100644 index 00000000000..c7872728e7f --- /dev/null +++ b/usr.bin/vim/osdef.h @@ -0,0 +1,82 @@ +/* $OpenBSD: osdef.h,v 1.1 1996/09/07 21:40:27 downsj Exp $ */ +/* +* osdef.h is automagically created from osdef?.h.in by osdef.sh -- DO NOT EDIT +*/ +/* autoconf cannot fiddle out declarations. Use our homebrewn tools. (jw) */ +/* + * Declarations that may cause conflicts belong here so that osdef.sh + * can clean out the forest. Everything else belongs in unix.h + * + * How this works: + * - This file contains all unix prototypes that Vim might need. + * - The shell script osdef.sh is executed at compile time to remove all the + * prototypes that are in an include file. This results in osdef.h. + * - osdef.h is included in vim.h. + * + * sed cannot always handle so many commands, this is file 1 of 2 + */ + +#ifndef ferror /* let me say it again: "macros should never have prototypes" */ +#endif +#if defined(sun) || defined(_SEQUENT_) +/* used inside of stdio macros getc(), puts(), putchar()... */ +extern int _flsbuf __ARGS((int, FILE *)); +extern int _filbuf __ARGS((FILE *)); +#endif + +#if !defined(HAVE_SELECT) +struct pollfd; /* for poll __ARGS */ +extern int poll __ARGS((struct pollfd *, long, int)); +#endif + +#ifdef HAVE_MEMSET +#endif +#ifdef HAVE_STRCSPN +#endif +#ifdef USEBCOPY +#else +# ifdef USEMEMCPY +# else +# ifdef USEMEMMOVE +# endif +# endif +#endif +/* used inside of FDZERO macro: */ +#ifdef HAVE_STRTOL +#endif + +#ifndef USE_SYSTEM +#endif + + +#ifdef HAVE_SIGSET +extern RETSIGTYPE (*sigset __ARGS((int, RETSIGTYPE (*func) SIGPROTOARG))) __PARMS(SIGPROTOARG); +#endif + + +#if defined(HAVE_GETCWD) && !defined(sun) +#else +#endif + + + + +extern int tgetent __ARGS((char *, char *)); +extern int tgetnum __ARGS((char *)); +extern int tgetflag __ARGS((char *)); +extern char *tgoto __ARGS((char *, int, int)); +extern int tputs __ARGS((char *, int, int (*)(int))); + +#ifdef HAVE_TERMIOS_H +#endif + +#ifdef HAVE_SYS_STATFS_H +struct statfs; /* for fstatfs __ARGS */ +extern int fstatfs __ARGS((int, struct statfs *, int, int)); +#endif + +#ifdef HAVE_GETTIMEOFDAY +#endif + +#ifdef HAVE_GETPWNAM +#endif |