Deleted Added
full compact
os.h (24139) os.h (89750)
1#include <sys/types.h>
2#include <sys/param.h> /* This defines BSD */
3#if defined(BSD) && !defined(BSD4_4) && !defined(__osf__)
4# include <stdio.h>
5# include <strings.h>
6# define strchr(a, b) index((a), (b))
7# define strrchr(a, b) rindex((a), (b))
8# define memcpy(a, b, c) bcopy((b), (a), (c))

--- 13 unchanged lines hidden (view full) ---

22# include <stdio.h>
23# define setbuffer(f, b, s) setvbuf((f), (b), (b) ? _IOFBF : _IONBF, (s))
24# include <string.h>
25# include <memory.h>
26# include <stdlib.h>
27# define memzero(a, b) memset((a), 0, (b))
28 typedef void sigret_t;
29#endif
1#include <sys/types.h>
2#include <sys/param.h> /* This defines BSD */
3#if defined(BSD) && !defined(BSD4_4) && !defined(__osf__)
4# include <stdio.h>
5# include <strings.h>
6# define strchr(a, b) index((a), (b))
7# define strrchr(a, b) rindex((a), (b))
8# define memcpy(a, b, c) bcopy((b), (a), (c))

--- 13 unchanged lines hidden (view full) ---

22# include <stdio.h>
23# define setbuffer(f, b, s) setvbuf((f), (b), (b) ? _IOFBF : _IONBF, (s))
24# include <string.h>
25# include <memory.h>
26# include <stdlib.h>
27# define memzero(a, b) memset((a), 0, (b))
28 typedef void sigret_t;
29#endif
30
31/* some systems declare sys_errlist in stdio.h! */
32#if defined(__NetBSD__) || defined(__FreeBSD__)
33#if !defined(__m68k__)
34# if !defined(__NetBSD132__)
35#define SYS_ERRLIST_DECLARED
36# endif /* __NetBSD132__ */
37#endif
38#endif