Annotation of src/usr.bin/vim/osdef.h, Revision 1.1.1.1
1.1 downsj 1: /* $OpenBSD$ */
2: /*
3: * osdef.h is automagically created from osdef?.h.in by osdef.sh -- DO NOT EDIT
4: */
5: /* autoconf cannot fiddle out declarations. Use our homebrewn tools. (jw) */
6: /*
7: * Declarations that may cause conflicts belong here so that osdef.sh
8: * can clean out the forest. Everything else belongs in unix.h
9: *
10: * How this works:
11: * - This file contains all unix prototypes that Vim might need.
12: * - The shell script osdef.sh is executed at compile time to remove all the
13: * prototypes that are in an include file. This results in osdef.h.
14: * - osdef.h is included in vim.h.
15: *
16: * sed cannot always handle so many commands, this is file 1 of 2
17: */
18:
19: #ifndef ferror /* let me say it again: "macros should never have prototypes" */
20: #endif
21: #if defined(sun) || defined(_SEQUENT_)
22: /* used inside of stdio macros getc(), puts(), putchar()... */
23: extern int _flsbuf __ARGS((int, FILE *));
24: extern int _filbuf __ARGS((FILE *));
25: #endif
26:
27: #if !defined(HAVE_SELECT)
28: struct pollfd; /* for poll __ARGS */
29: extern int poll __ARGS((struct pollfd *, long, int));
30: #endif
31:
32: #ifdef HAVE_MEMSET
33: #endif
34: #ifdef HAVE_STRCSPN
35: #endif
36: #ifdef USEBCOPY
37: #else
38: # ifdef USEMEMCPY
39: # else
40: # ifdef USEMEMMOVE
41: # endif
42: # endif
43: #endif
44: /* used inside of FDZERO macro: */
45: #ifdef HAVE_STRTOL
46: #endif
47:
48: #ifndef USE_SYSTEM
49: #endif
50:
51:
52: #ifdef HAVE_SIGSET
53: extern RETSIGTYPE (*sigset __ARGS((int, RETSIGTYPE (*func) SIGPROTOARG))) __PARMS(SIGPROTOARG);
54: #endif
55:
56:
57: #if defined(HAVE_GETCWD) && !defined(sun)
58: #else
59: #endif
60:
61:
62:
63:
64: extern int tgetent __ARGS((char *, char *));
65: extern int tgetnum __ARGS((char *));
66: extern int tgetflag __ARGS((char *));
67: extern char *tgoto __ARGS((char *, int, int));
68: extern int tputs __ARGS((char *, int, int (*)(int)));
69:
70: #ifdef HAVE_TERMIOS_H
71: #endif
72:
73: #ifdef HAVE_SYS_STATFS_H
74: struct statfs; /* for fstatfs __ARGS */
75: extern int fstatfs __ARGS((int, struct statfs *, int, int));
76: #endif
77:
78: #ifdef HAVE_GETTIMEOFDAY
79: #endif
80:
81: #ifdef HAVE_GETPWNAM
82: #endif