<ansi.h> -> <minix/ansi.h>
This commit is contained in:
parent
e912f6ac38
commit
dc1cc91df1
69 changed files with 99 additions and 97 deletions
2
Makefile
2
Makefile
|
@ -60,7 +60,7 @@ gnu-includes: includes
|
||||||
SHELL=/bin/sh; if [ -f $(MKHEADERS443) ] ; then sh -e $(MKHEADERS443) ; fi
|
SHELL=/bin/sh; if [ -f $(MKHEADERS443) ] ; then sh -e $(MKHEADERS443) ; fi
|
||||||
SHELL=/bin/sh; if [ -f $(MKHEADERS443_PKGSRC) ] ; then sh -e $(MKHEADERS443_PKGSRC) ; fi
|
SHELL=/bin/sh; if [ -f $(MKHEADERS443_PKGSRC) ] ; then sh -e $(MKHEADERS443_PKGSRC) ; fi
|
||||||
|
|
||||||
gnu-libraries: gnu-includes
|
gnu-libraries: #gnu-includes
|
||||||
$(MAKE) -C lib build_gnu
|
$(MAKE) -C lib build_gnu
|
||||||
|
|
||||||
clang-libraries: includes
|
clang-libraries: includes
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
#ifndef __OBJECT_INCLUDED__
|
#ifndef __OBJECT_INCLUDED__
|
||||||
#define __OBJECT_INCLUDED__
|
#define __OBJECT_INCLUDED__
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* The <ansi.h> header attempts to decide whether the compiler has enough
|
/* The <minix/ansi.h> header attempts to decide whether the compiler has enough
|
||||||
* conformance to Standard C for Minix to take advantage of. If so, the
|
* conformance to Standard C for Minix to take advantage of. If so, the
|
||||||
* symbol _ANSI is defined (as 31415). Otherwise _ANSI is not defined
|
* symbol _ANSI is defined (as 31415). Otherwise _ANSI is not defined
|
||||||
* here, but it may be defined by applications that want to bend the rules.
|
* here, but it may be defined by applications that want to bend the rules.
|
||||||
|
@ -18,8 +18,8 @@
|
||||||
* The appropriate macros are defined here.
|
* The appropriate macros are defined here.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#define _ANSI_H
|
#define _MINIX_ANSI_H
|
||||||
|
|
||||||
#if __STDC__ == 1
|
#if __STDC__ == 1
|
||||||
#define _ANSI 31459 /* compiler claims full ANSI conformance */
|
#define _ANSI 31459 /* compiler claims full ANSI conformance */
|
||||||
|
@ -53,4 +53,4 @@
|
||||||
|
|
||||||
#endif /* _ANSI */
|
#endif /* _ANSI */
|
||||||
|
|
||||||
#endif /* ANSI_H */
|
#endif /* _MINIX_ANSI_H */
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include <minix/config.h>
|
#include <minix/config.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <a.out.h>
|
#include <a.out.h>
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include <minix/config.h>
|
#include <minix/config.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <a.out.h>
|
#include <a.out.h>
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _ANSI
|
#ifndef _ANSI
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* eebit.c */
|
/* eebit.c */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _ANSI
|
#ifndef _ANSI
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* sbbcpy.c */
|
/* sbbcpy.c */
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include <minix/config.h>
|
#include <minix/config.h>
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Doing a make includes builds /usr/include
|
# Doing a make includes builds /usr/include
|
||||||
|
|
||||||
INCS= alloca.h ansi.h a.out.h ar.h assert.h configfile.h ctype.h \
|
INCS= alloca.h a.out.h ar.h assert.h configfile.h ctype.h \
|
||||||
curses.h dirent.h env.h err.h errno.h fcntl.h fenv.h \
|
curses.h dirent.h env.h err.h errno.h fcntl.h fenv.h \
|
||||||
float.h fnmatch.h fts.h getopt.h glob.h grp.h ifaddrs.h \
|
float.h fnmatch.h fts.h getopt.h glob.h grp.h ifaddrs.h \
|
||||||
inttypes.h libgen.h lib.h libutil.h limits.h locale.h \
|
inttypes.h libgen.h lib.h libutil.h limits.h locale.h \
|
||||||
|
@ -29,7 +29,7 @@ INCS+= minix/a.out.h minix/bitmap.h minix/callnr.h minix/cdrom.h \
|
||||||
minix/sysutil.h minix/timers.h minix/tty.h minix/type.h minix/types.h \
|
minix/sysutil.h minix/timers.h minix/tty.h minix/type.h minix/types.h \
|
||||||
minix/u64.h minix/vfsif.h minix/vm.h minix/vtreefs.h minix/gcov.h \
|
minix/u64.h minix/vfsif.h minix/vm.h minix/vtreefs.h minix/gcov.h \
|
||||||
minix/compiler.h minix/compiler-ack.h minix/sha2.h minix/sha1.h minix/md5.h \
|
minix/compiler.h minix/compiler-ack.h minix/sha2.h minix/sha1.h minix/md5.h \
|
||||||
minix/audio_fw.h minix/hash.h minix/input.h
|
minix/audio_fw.h minix/hash.h minix/input.h minix/ansi.h
|
||||||
INCS+= net/hton.h net/if.h net/ioctl.h net/netlib.h
|
INCS+= net/hton.h net/if.h net/ioctl.h net/netlib.h
|
||||||
INCS+= net/gen/arp_io.h net/gen/dhcp.h net/gen/ether.h \
|
INCS+= net/gen/arp_io.h net/gen/dhcp.h net/gen/ether.h \
|
||||||
net/gen/eth_hdr.h net/gen/eth_io.h net/gen/icmp.h \
|
net/gen/eth_hdr.h net/gen/eth_io.h net/gen/icmp.h \
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
#undef assert
|
#undef assert
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
#ifndef _CTYPE_H
|
#ifndef _CTYPE_H
|
||||||
#define _CTYPE_H
|
#define _CTYPE_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern char __ctype[]; /* property array defined in chartab.c */
|
extern char __ctype[]; /* property array defined in chartab.c */
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
* _BSD_VA_LIST_ from <machine/ansi.h> and use it.
|
* _BSD_VA_LIST_ from <machine/ansi.h> and use it.
|
||||||
*/
|
*/
|
||||||
#ifdef __minix
|
#ifdef __minix
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#else
|
#else
|
||||||
#include <machine/ansi.h>
|
#include <machine/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include <minix/types.h>
|
#include <minix/types.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <minix/com.h>
|
#include <minix/com.h>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
libgen.h
|
libgen.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
/* Open Group Base Specifications Issue 6 (not complete) */
|
/* Open Group Base Specifications Issue 6 (not complete) */
|
||||||
_PROTOTYPE( char *basename, (char *_path) );
|
_PROTOTYPE( char *basename, (char *_path) );
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
#ifndef _LOCALE_H
|
#ifndef _LOCALE_H
|
||||||
#define _LOCALE_H
|
#define _LOCALE_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct lconv {
|
struct lconv {
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#ifndef _MATH_H
|
#ifndef _MATH_H
|
||||||
#define _MATH_H
|
#define _MATH_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define INFINITY (__infinity())
|
#define INFINITY (__infinity())
|
||||||
|
|
|
@ -109,8 +109,8 @@ struct nlist { /* symbol table entry */
|
||||||
#define C_STAT 0030 /* static */
|
#define C_STAT 0030 /* static */
|
||||||
|
|
||||||
/* Function prototypes. */
|
/* Function prototypes. */
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_PROTOTYPE( int nlist, (char *_file, struct nlist *_nl) );
|
_PROTOTYPE( int nlist, (char *_file, struct nlist *_nl) );
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* The <ansi.h> header attempts to decide whether the compiler has enough
|
/* The <minix/ansi.h> header attempts to decide whether the compiler has enough
|
||||||
* conformance to Standard C for Minix to take advantage of. If so, the
|
* conformance to Standard C for Minix to take advantage of. If so, the
|
||||||
* symbol _ANSI is defined (as 31459). Otherwise _ANSI is not defined
|
* symbol _ANSI is defined (as 31459). Otherwise _ANSI is not defined
|
||||||
* here, but it may be defined by applications that want to bend the rules.
|
* here, but it may be defined by applications that want to bend the rules.
|
||||||
|
@ -18,8 +18,8 @@
|
||||||
* The appropriate macros are defined here.
|
* The appropriate macros are defined here.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#define _ANSI_H
|
#define _MINIX_ANSI_H
|
||||||
|
|
||||||
#if __STDC__ == 1
|
#if __STDC__ == 1
|
||||||
#define _ANSI 31459 /* compiler claims full ANSI conformance */
|
#define _ANSI 31459 /* compiler claims full ANSI conformance */
|
||||||
|
@ -73,4 +73,4 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#define _BSD_VA_LIST_ va_list
|
#define _BSD_VA_LIST_ va_list
|
||||||
|
|
||||||
#endif /* ANSI_H */
|
#endif /* _MINIX_ANSI_H */
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
/* The following are so basic, all the *.c files get them automatically. */
|
/* The following are so basic, all the *.c files get them automatically. */
|
||||||
#include <minix/config.h> /* MUST be first */
|
#include <minix/config.h> /* MUST be first */
|
||||||
#include <ansi.h> /* MUST be second */
|
#include <minix/ansi.h> /* MUST be second */
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
#include <minix/ipc.h>
|
#include <minix/ipc.h>
|
||||||
#include <minix/com.h>
|
#include <minix/com.h>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
/* The following are so basic, all the *.c files get them automatically. */
|
/* The following are so basic, all the *.c files get them automatically. */
|
||||||
#include <minix/config.h> /* MUST be first */
|
#include <minix/config.h> /* MUST be first */
|
||||||
#include <ansi.h> /* MUST be second */
|
#include <minix/ansi.h> /* MUST be second */
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
#include <minix/com.h>
|
#include <minix/com.h>
|
||||||
#include <minix/dmap.h>
|
#include <minix/dmap.h>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#ifndef _MINLIB
|
#ifndef _MINLIB
|
||||||
#define _MINLIB
|
#define _MINLIB
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Miscellaneous BSD. */
|
/* Miscellaneous BSD. */
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#define _MTHREAD_H
|
#define _MTHREAD_H
|
||||||
|
|
||||||
#include <minix/config.h> /* MUST be first */
|
#include <minix/config.h> /* MUST be first */
|
||||||
#include <ansi.h> /* MUST be second */
|
#include <minix/ansi.h> /* MUST be second */
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef _PROFILE_H
|
#ifndef _PROFILE_H
|
||||||
#define _PROFILE_H
|
#define _PROFILE_H
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#ifndef _MINIX__QUERYPARAM_H
|
#ifndef _MINIX__QUERYPARAM_H
|
||||||
#define _MINIX__QUERYPARAM_H
|
#define _MINIX__QUERYPARAM_H
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
typedef size_t _mnx_size_t;
|
typedef size_t _mnx_size_t;
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
#ifndef _TYPES_H
|
#ifndef _TYPES_H
|
||||||
#define _TYPES_H
|
#define _TYPES_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef unsigned char u8_t; /* 8 bit type */
|
typedef unsigned char u8_t; /* 8 bit type */
|
||||||
|
|
|
@ -6,7 +6,7 @@ net/netlib.h
|
||||||
#define _NET__NETLIB_H_
|
#define _NET__NETLIB_H_
|
||||||
|
|
||||||
#ifndef _ANSI
|
#ifndef _ANSI
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_PROTOTYPE (int iruserok, (unsigned long raddr, int superuser,
|
_PROTOTYPE (int iruserok, (unsigned long raddr, int superuser,
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
#ifndef _REGEXP_H
|
#ifndef _REGEXP_H
|
||||||
#define _REGEXP_H
|
#define _REGEXP_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CHARBITS 0377
|
#define CHARBITS 0377
|
||||||
|
|
|
@ -51,8 +51,8 @@
|
||||||
#ifndef _SETJMP_H
|
#ifndef _SETJMP_H
|
||||||
#define _SETJMP_H
|
#define _SETJMP_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
#ifndef _SIGNAL_H
|
#ifndef _SIGNAL_H
|
||||||
#define _SIGNAL_H
|
#define _SIGNAL_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef _POSIX_SOURCE
|
#ifdef _POSIX_SOURCE
|
||||||
#ifndef _TYPES_H
|
#ifndef _TYPES_H
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
#ifndef _STDIO_H
|
#ifndef _STDIO_H
|
||||||
#define _STDIO_H
|
#define _STDIO_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/null.h> /* For NULL */
|
#include <sys/null.h> /* For NULL */
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#ifndef _STDLIB_H
|
#ifndef _STDLIB_H
|
||||||
#define _STDLIB_H
|
#define _STDLIB_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -18,8 +18,8 @@ typedef unsigned int size_t; /* type returned by sizeof */
|
||||||
#endif /*_SIZE_T */
|
#endif /*_SIZE_T */
|
||||||
|
|
||||||
/* Function Prototypes. */
|
/* Function Prototypes. */
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_PROTOTYPE( void *memchr, (const void *_s, int _c, size_t _n) );
|
_PROTOTYPE( void *memchr, (const void *_s, int _c, size_t _n) );
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
strings.h
|
strings.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
/* Open Group Base Specifications Issue 6 (not complete) */
|
/* Open Group Base Specifications Issue 6 (not complete) */
|
||||||
_PROTOTYPE( char *index, (const char *_s, int _charwanted) );
|
_PROTOTYPE( char *index, (const char *_s, int _charwanted) );
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
|
|
||||||
|
|
||||||
/* Function Prototypes. */
|
/* Function Prototypes. */
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_PROTOTYPE( int mount, (char *_spec, char *_name, int _mountflags,
|
_PROTOTYPE( int mount, (char *_spec, char *_name, int _mountflags,
|
||||||
|
|
|
@ -49,8 +49,8 @@ struct ptrace_range {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Function Prototypes. */
|
/* Function Prototypes. */
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_PROTOTYPE( long ptrace, (int _req, pid_t _pid, long _addr, long _data) );
|
_PROTOTYPE( long ptrace, (int _req, pid_t _pid, long _addr, long _data) );
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
* by the signal catching mechanism.
|
* by the signal catching mechanism.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _MINIX_SYS_CONFIG_H
|
#ifndef _MINIX_SYS_CONFIG_H
|
||||||
|
|
|
@ -5,7 +5,7 @@ sys/time.h
|
||||||
#ifndef _SYS__TIME_H
|
#ifndef _SYS__TIME_H
|
||||||
#define _SYS__TIME_H
|
#define _SYS__TIME_H
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
/* Open Group Base Specifications Issue 6 (not complete) */
|
/* Open Group Base Specifications Issue 6 (not complete) */
|
||||||
struct timeval
|
struct timeval
|
||||||
|
|
|
@ -16,8 +16,8 @@ struct tms {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Function Prototypes. */
|
/* Function Prototypes. */
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_PROTOTYPE( clock_t times, (struct tms *_buffer) );
|
_PROTOTYPE( clock_t times, (struct tms *_buffer) );
|
||||||
|
|
|
@ -3,10 +3,12 @@
|
||||||
#ifndef _UTSNAME_H
|
#ifndef _UTSNAME_H
|
||||||
#define _UTSNAME_H
|
#define _UTSNAME_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <minix/types.h>
|
||||||
|
|
||||||
struct utsname {
|
struct utsname {
|
||||||
char sysname[15+1];
|
char sysname[15+1];
|
||||||
char nodename[255+1];
|
char nodename[255+1];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef _TERMCAP_H
|
#ifndef _TERMCAP_H
|
||||||
#define _TERMCAP_H
|
#define _TERMCAP_H
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
_PROTOTYPE( int tgetent, (char *_bp, char *_name) );
|
_PROTOTYPE( int tgetent, (char *_bp, char *_name) );
|
||||||
_PROTOTYPE( int tgetflag, (char *_id) );
|
_PROTOTYPE( int tgetflag, (char *_id) );
|
||||||
|
|
|
@ -117,8 +117,8 @@ struct termios {
|
||||||
#define TCION 4 /* transmit a START character on the line */
|
#define TCION 4 /* transmit a START character on the line */
|
||||||
|
|
||||||
/* Function Prototypes. */
|
/* Function Prototypes. */
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_PROTOTYPE( int tcsendbreak, (int _fildes, int _duration) );
|
_PROTOTYPE( int tcsendbreak, (int _fildes, int _duration) );
|
||||||
|
|
|
@ -47,8 +47,8 @@ struct tm {
|
||||||
extern char *tzname[];
|
extern char *tzname[];
|
||||||
|
|
||||||
/* Function Prototypes. */
|
/* Function Prototypes. */
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_PROTOTYPE( clock_t clock, (void) );
|
_PROTOTYPE( clock_t clock, (void) );
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
#ifndef _TTYENT_H
|
#ifndef _TTYENT_H
|
||||||
#define _TTYENT_H
|
#define _TTYENT_H
|
||||||
|
|
||||||
#ifndef _ANSI_H
|
#ifndef _MINIX_ANSI_H
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct ttyent {
|
struct ttyent {
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <utmp.h>
|
#include <utmp.h>
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
#ifdef _BSD_TIME_T_
|
#ifdef _BSD_TIME_T_
|
||||||
typedef _BSD_TIME_T_ time_t;
|
typedef _BSD_TIME_T_ time_t;
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
#ifndef _WCHAR_H_
|
#ifndef _WCHAR_H_
|
||||||
#define _WCHAR_H_
|
#define _WCHAR_H_
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#ifndef _WCTYPE_H_
|
#ifndef _WCTYPE_H_
|
||||||
#define _WCTYPE_H_
|
#define _WCTYPE_H_
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <minix/debug.h>
|
#include <minix/debug.h>
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
/* The following are so basic, all the *.c files get them automatically. */
|
/* The following are so basic, all the *.c files get them automatically. */
|
||||||
#include <minix/config.h> /* global configuration, MUST be first */
|
#include <minix/config.h> /* global configuration, MUST be first */
|
||||||
#include <ansi.h> /* C style: ANSI or K&R, MUST be second */
|
#include <minix/ansi.h> /* C style: ANSI or K&R, MUST be second */
|
||||||
#include <sys/types.h> /* general system types */
|
#include <sys/types.h> /* general system types */
|
||||||
#include <minix/const.h> /* MINIX specific constants */
|
#include <minix/const.h> /* MINIX specific constants */
|
||||||
#include <minix/type.h> /* MINIX specific types, e.g. message */
|
#include <minix/type.h> /* MINIX specific types, e.g. message */
|
||||||
|
|
|
@ -24,7 +24,7 @@ static char sccsid[] = "@(#)getproto.c 5.6 (Berkeley) 6/1/90";
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
#ifdef _MINIX
|
#ifdef _MINIX
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <net/gen/netdb.h>
|
#include <net/gen/netdb.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* fslib.c - routines needed by fs and fs utilities */
|
/* fslib.c - routines needed by fs and fs utilities */
|
||||||
|
|
||||||
#include <minix/config.h> /* for unused stuff in <minix/type.h> :-( */
|
#include <minix/config.h> /* for unused stuff in <minix/type.h> :-( */
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* It should be a mask, e.g. 0377 for an 8-bit machine.
|
* It should be a mask, e.g. 0377 for an 8-bit machine.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
_PROTOTYPE( void *memccpy, (void *dst, const void *src,
|
_PROTOTYPE( void *memccpy, (void *dst, const void *src,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/* $Header$ */
|
/* $Header$ */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
#define io_testflag(p,x) ((p)->_flags & (x))
|
#define io_testflag(p,x) ((p)->_flags & (x))
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ Created: Jan 3, 1992 by Philip Homburg
|
||||||
Copyright 1995 Philip Homburg
|
Copyright 1995 Philip Homburg
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include <minix/config.h>
|
#include <minix/config.h>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#define _SYSTEM 1
|
#define _SYSTEM 1
|
||||||
|
|
||||||
#include <minix/config.h>
|
#include <minix/config.h>
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||||||
#define _SYSTEM 1 /* tell headers that this is the kernel */
|
#define _SYSTEM 1 /* tell headers that this is the kernel */
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||||||
#define _SYSTEM 1 /* get OK and negative error codes */
|
#define _SYSTEM 1 /* get OK and negative error codes */
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
/* The following are so basic, all the *.c files get them automatically. */
|
/* The following are so basic, all the *.c files get them automatically. */
|
||||||
#include <minix/config.h> /* MUST be first */
|
#include <minix/config.h> /* MUST be first */
|
||||||
#include <ansi.h> /* MUST be second */
|
#include <minix/ansi.h> /* MUST be second */
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#ifndef _MINIX__QUERYPARAM_H
|
#ifndef _MINIX__QUERYPARAM_H
|
||||||
#define _MINIX__QUERYPARAM_H
|
#define _MINIX__QUERYPARAM_H
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
|
|
||||||
typedef size_t _mnx_size_t;
|
typedef size_t _mnx_size_t;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#define _SYSTEM 1 /* get OK and negative error codes */
|
#define _SYSTEM 1 /* get OK and negative error codes */
|
||||||
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#define VERBOSE 0 /* display diagnostics */
|
#define VERBOSE 0 /* display diagnostics */
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
/* The following are so basic, all the *.c files get them automatically. */
|
/* The following are so basic, all the *.c files get them automatically. */
|
||||||
#include <minix/config.h> /* MUST be first */
|
#include <minix/config.h> /* MUST be first */
|
||||||
#include <ansi.h> /* MUST be second */
|
#include <minix/ansi.h> /* MUST be second */
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
/* The following are so basic, all the *.c files get them automatically. */
|
/* The following are so basic, all the *.c files get them automatically. */
|
||||||
#include <minix/config.h> /* MUST be first */
|
#include <minix/config.h> /* MUST be first */
|
||||||
#include <ansi.h> /* MUST be second */
|
#include <minix/ansi.h> /* MUST be second */
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
#include <net/ioctl.h>
|
#include <net/ioctl.h>
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
/* The following are so basic, all the *.c files get them automatically. */
|
/* The following are so basic, all the *.c files get them automatically. */
|
||||||
#include <minix/config.h> /* MUST be first */
|
#include <minix/config.h> /* MUST be first */
|
||||||
#include <ansi.h> /* MUST be second */
|
#include <minix/ansi.h> /* MUST be second */
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#define _SYSTEM 1
|
#define _SYSTEM 1
|
||||||
|
|
||||||
#include <minix/config.h>
|
#include <minix/config.h>
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#define _SYSTEM 1 /* get OK and negative error codes */
|
#define _SYSTEM 1 /* get OK and negative error codes */
|
||||||
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <minix/ansi.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
/* The following are so basic, all the *.c files get them automatically. */
|
/* The following are so basic, all the *.c files get them automatically. */
|
||||||
#include <minix/config.h> /* MUST be first */
|
#include <minix/config.h> /* MUST be first */
|
||||||
#include <ansi.h> /* MUST be second */
|
#include <minix/ansi.h> /* MUST be second */
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
/* The following are so basic, all the *.c files get them automatically. */
|
/* The following are so basic, all the *.c files get them automatically. */
|
||||||
#include <minix/config.h> /* MUST be first */
|
#include <minix/config.h> /* MUST be first */
|
||||||
#include <ansi.h> /* MUST be second */
|
#include <minix/ansi.h> /* MUST be second */
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <minix/const.h>
|
#include <minix/const.h>
|
||||||
#include <minix/type.h>
|
#include <minix/type.h>
|
||||||
|
|
Loading…
Reference in a new issue