<ansi.h> -> <minix/ansi.h>

This commit is contained in:
Ben Gras 2011-01-28 11:35:02 +00:00
parent e912f6ac38
commit dc1cc91df1
69 changed files with 99 additions and 97 deletions

View file

@ -60,7 +60,7 @@ gnu-includes: includes
SHELL=/bin/sh; if [ -f $(MKHEADERS443) ] ; then sh -e $(MKHEADERS443) ; 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
clang-libraries: includes

View file

@ -3,7 +3,7 @@
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
#include <ansi.h>
#include <minix/ansi.h>
#ifndef __OBJECT_INCLUDED__
#define __OBJECT_INCLUDED__

View file

@ -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
* 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.
@ -18,8 +18,8 @@
* The appropriate macros are defined here.
*/
#ifndef _ANSI_H
#define _ANSI_H
#ifndef _MINIX_ANSI_H
#define _MINIX_ANSI_H
#if __STDC__ == 1
#define _ANSI 31459 /* compiler claims full ANSI conformance */
@ -53,4 +53,4 @@
#endif /* _ANSI */
#endif /* ANSI_H */
#endif /* _MINIX_ANSI_H */

View file

@ -17,7 +17,7 @@
#include <minix/config.h>
#include <minix/const.h>
#include <a.out.h>
#include <ansi.h>
#include <minix/ansi.h>
#include <assert.h>
#include <ctype.h>
#include <fcntl.h>

View file

@ -17,7 +17,7 @@
#include <minix/config.h>
#include <minix/const.h>
#include <a.out.h>
#include <ansi.h>
#include <minix/ansi.h>
#include <assert.h>
#include <ctype.h>
#include <fcntl.h>

View file

@ -1,5 +1,5 @@
#ifndef _ANSI
#include <ansi.h>
#include <minix/ansi.h>
#endif
/* eebit.c */

View file

@ -1,5 +1,5 @@
#ifndef _ANSI
#include <ansi.h>
#include <minix/ansi.h>
#endif
/* sbbcpy.c */

View file

@ -36,7 +36,7 @@
#include <minix/config.h>
#include <ansi.h>
#include <minix/ansi.h>
#include <sys/types.h>
#include <minix/const.h>

View file

@ -1,6 +1,6 @@
# 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 \
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 \
@ -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/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/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/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 \

View file

@ -15,8 +15,8 @@
#undef assert
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
#ifdef NDEBUG

View file

@ -7,8 +7,8 @@
#ifndef _CTYPE_H
#define _CTYPE_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
extern char __ctype[]; /* property array defined in chartab.c */

View file

@ -42,7 +42,7 @@
* _BSD_VA_LIST_ from <machine/ansi.h> and use it.
*/
#ifdef __minix
#include <ansi.h>
#include <minix/ansi.h>
#else
#include <machine/ansi.h>
#endif

View file

@ -14,7 +14,7 @@
#include <minix/types.h>
#include <limits.h>
#include <errno.h>
#include <ansi.h>
#include <minix/ansi.h>
#include <minix/const.h>
#include <minix/com.h>

View file

@ -2,7 +2,7 @@
libgen.h
*/
#include <ansi.h>
#include <minix/ansi.h>
/* Open Group Base Specifications Issue 6 (not complete) */
_PROTOTYPE( char *basename, (char *_path) );

View file

@ -6,8 +6,8 @@
#ifndef _LOCALE_H
#define _LOCALE_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
struct lconv {

View file

@ -3,8 +3,8 @@
#ifndef _MATH_H
#define _MATH_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
#define INFINITY (__infinity())

View file

@ -109,8 +109,8 @@ struct nlist { /* symbol table entry */
#define C_STAT 0030 /* static */
/* Function prototypes. */
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
_PROTOTYPE( int nlist, (char *_file, struct nlist *_nl) );

View file

@ -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
* 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.
@ -18,8 +18,8 @@
* The appropriate macros are defined here.
*/
#ifndef _ANSI_H
#define _ANSI_H
#ifndef _MINIX_ANSI_H
#define _MINIX_ANSI_H
#if __STDC__ == 1
#define _ANSI 31459 /* compiler claims full ANSI conformance */
@ -73,4 +73,4 @@
#include <stdarg.h>
#define _BSD_VA_LIST_ va_list
#endif /* ANSI_H */
#endif /* _MINIX_ANSI_H */

View file

@ -11,7 +11,7 @@
/* The following are so basic, all the *.c files get them automatically. */
#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/ipc.h>
#include <minix/com.h>

View file

@ -11,7 +11,7 @@
/* The following are so basic, all the *.c files get them automatically. */
#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/com.h>
#include <minix/dmap.h>

View file

@ -1,8 +1,8 @@
#ifndef _MINLIB
#define _MINLIB
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
/* Miscellaneous BSD. */

View file

@ -2,7 +2,7 @@
#define _MTHREAD_H
#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 <sys/types.h>
#include <stdio.h>

View file

@ -1,7 +1,7 @@
#ifndef _PROFILE_H
#define _PROFILE_H
#include <ansi.h>
#include <minix/ansi.h>
#include <minix/type.h>
/*

View file

@ -4,7 +4,7 @@
#ifndef _MINIX__QUERYPARAM_H
#define _MINIX__QUERYPARAM_H
#include <ansi.h>
#include <minix/ansi.h>
typedef size_t _mnx_size_t;

View file

@ -7,8 +7,8 @@
#ifndef _TYPES_H
#define _TYPES_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
typedef unsigned char u8_t; /* 8 bit type */

View file

@ -6,7 +6,7 @@ net/netlib.h
#define _NET__NETLIB_H_
#ifndef _ANSI
#include <ansi.h>
#include <minix/ansi.h>
#endif
_PROTOTYPE (int iruserok, (unsigned long raddr, int superuser,

View file

@ -4,8 +4,8 @@
#ifndef _REGEXP_H
#define _REGEXP_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
#define CHARBITS 0377

View file

@ -51,8 +51,8 @@
#ifndef _SETJMP_H
#define _SETJMP_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
typedef struct {

View file

@ -6,8 +6,8 @@
#ifndef _SIGNAL_H
#define _SIGNAL_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
#ifdef _POSIX_SOURCE
#ifndef _TYPES_H

View file

@ -9,8 +9,8 @@
#ifndef _STDIO_H
#define _STDIO_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
#include <sys/null.h> /* For NULL */

View file

@ -3,8 +3,8 @@
#ifndef _STDLIB_H
#define _STDLIB_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
#include <stddef.h>

View file

@ -18,8 +18,8 @@ typedef unsigned int size_t; /* type returned by sizeof */
#endif /*_SIZE_T */
/* Function Prototypes. */
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
_PROTOTYPE( void *memchr, (const void *_s, int _c, size_t _n) );

View file

@ -2,7 +2,7 @@
strings.h
*/
#include <ansi.h>
#include <minix/ansi.h>
/* Open Group Base Specifications Issue 6 (not complete) */
_PROTOTYPE( char *index, (const char *_s, int _charwanted) );

View file

@ -12,8 +12,8 @@
/* Function Prototypes. */
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
_PROTOTYPE( int mount, (char *_spec, char *_name, int _mountflags,

View file

@ -49,8 +49,8 @@ struct ptrace_range {
};
/* Function Prototypes. */
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
_PROTOTYPE( long ptrace, (int _req, pid_t _pid, long _addr, long _data) );

View file

@ -6,8 +6,8 @@
* by the signal catching mechanism.
*/
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
#ifndef _MINIX_SYS_CONFIG_H

View file

@ -5,7 +5,7 @@ sys/time.h
#ifndef _SYS__TIME_H
#define _SYS__TIME_H
#include <ansi.h>
#include <minix/ansi.h>
/* Open Group Base Specifications Issue 6 (not complete) */
struct timeval

View file

@ -16,8 +16,8 @@ struct tms {
};
/* Function Prototypes. */
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
_PROTOTYPE( clock_t times, (struct tms *_buffer) );

View file

@ -3,10 +3,12 @@
#ifndef _UTSNAME_H
#define _UTSNAME_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
#include <minix/types.h>
struct utsname {
char sysname[15+1];
char nodename[255+1];

View file

@ -1,7 +1,7 @@
#ifndef _TERMCAP_H
#define _TERMCAP_H
#include <ansi.h>
#include <minix/ansi.h>
_PROTOTYPE( int tgetent, (char *_bp, char *_name) );
_PROTOTYPE( int tgetflag, (char *_id) );

View file

@ -117,8 +117,8 @@ struct termios {
#define TCION 4 /* transmit a START character on the line */
/* Function Prototypes. */
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
_PROTOTYPE( int tcsendbreak, (int _fildes, int _duration) );

View file

@ -47,8 +47,8 @@ struct tm {
extern char *tzname[];
/* Function Prototypes. */
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
_PROTOTYPE( clock_t clock, (void) );

View file

@ -4,8 +4,8 @@
#ifndef _TTYENT_H
#define _TTYENT_H
#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif
struct ttyent {

View file

@ -38,7 +38,7 @@
#include <pwd.h>
#include <termios.h>
#include <utmp.h>
#include <ansi.h>
#include <minix/ansi.h>
#ifdef _BSD_TIME_T_
typedef _BSD_TIME_T_ time_t;

View file

@ -56,7 +56,7 @@
#ifndef _WCHAR_H_
#define _WCHAR_H_
#include <ansi.h>
#include <minix/ansi.h>
#include <stdarg.h>
#include <stddef.h>

View file

@ -29,7 +29,7 @@
#ifndef _WCTYPE_H_
#define _WCTYPE_H_
#include <ansi.h>
#include <minix/ansi.h>
#include <stddef.h>
#include <wchar.h>

View file

@ -8,7 +8,7 @@
*/
#ifndef __ASSEMBLY__
#include <ansi.h>
#include <minix/ansi.h>
#include <minix/debug.h>
#include "config.h"
#endif

View file

@ -35,7 +35,7 @@
/* The following are so basic, all the *.c files get them automatically. */
#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 <minix/const.h> /* MINIX specific constants */
#include <minix/type.h> /* MINIX specific types, e.g. message */

View file

@ -24,7 +24,7 @@ static char sccsid[] = "@(#)getproto.c 5.6 (Berkeley) 6/1/90";
#include <stddef.h>
#ifdef _MINIX
#include <ansi.h>
#include <minix/ansi.h>
#include <net/gen/netdb.h>
#endif

View file

@ -32,7 +32,7 @@
*/
#include <sys/types.h>
#include <ansi.h>
#include <minix/ansi.h>
#include <strings.h>
#include <ctype.h>

View file

@ -1,7 +1,7 @@
/* fslib.c - routines needed by fs and fs utilities */
#include <minix/config.h> /* for unused stuff in <minix/type.h> :-( */
#include <ansi.h>
#include <minix/ansi.h>
#include <limits.h>
#include <dirent.h>
#include <sys/types.h>

View file

@ -5,7 +5,7 @@
* It should be a mask, e.g. 0377 for an 8-bit machine.
*/
#include <ansi.h>
#include <minix/ansi.h>
#include <stddef.h>
_PROTOTYPE( void *memccpy, (void *dst, const void *src,

View file

@ -4,7 +4,7 @@
/* $Header$ */
#include <stdio.h>
#include <ansi.h>
#include <minix/ansi.h>
#define io_testflag(p,x) ((p)->_flags & (x))

View file

@ -6,7 +6,7 @@ Created: Jan 3, 1992 by Philip Homburg
Copyright 1995 Philip Homburg
*/
#include <ansi.h>
#include <minix/ansi.h>
#include <assert.h>
#include <minix/config.h>

View file

@ -3,7 +3,7 @@
#define _SYSTEM 1
#include <minix/config.h>
#include <ansi.h>
#include <minix/ansi.h>
#include <assert.h>
#include <sys/types.h>
#include <minix/const.h>

View file

@ -3,7 +3,7 @@
#define _MINIX 1 /* tell headers to include MINIX stuff */
#define _SYSTEM 1 /* tell headers that this is the kernel */
#include <ansi.h>
#include <minix/ansi.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

View file

@ -7,7 +7,7 @@
#define _MINIX 1 /* tell headers to include MINIX stuff */
#define _SYSTEM 1 /* get OK and negative error codes */
#include <ansi.h>
#include <minix/ansi.h>
#include <sys/types.h>
#include <sys/param.h>
#include <limits.h>

View file

@ -13,7 +13,7 @@
/* The following are so basic, all the *.c files get them automatically. */
#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 <minix/const.h>
#include <minix/type.h>

View file

@ -4,7 +4,7 @@
#ifndef _MINIX__QUERYPARAM_H
#define _MINIX__QUERYPARAM_H
#include <ansi.h>
#include <minix/ansi.h>
typedef size_t _mnx_size_t;

View file

@ -7,7 +7,7 @@
#define _SYSTEM 1 /* get OK and negative error codes */
#define _MINIX 1 /* tell headers to include MINIX stuff */
#include <ansi.h>
#include <minix/ansi.h>
#include <sys/types.h>
#include <limits.h>
#include <errno.h>

View file

@ -4,7 +4,7 @@
#define VERBOSE 0 /* display diagnostics */
#include <ansi.h>
#include <minix/ansi.h>
#include <sys/types.h>
#include <limits.h>
#include <errno.h>

View file

@ -12,7 +12,7 @@
/* The following are so basic, all the *.c files get them automatically. */
#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 <minix/const.h>
#include <minix/type.h>

View file

@ -10,7 +10,7 @@
/* The following are so basic, all the *.c files get them automatically. */
#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 <minix/const.h>
#include <minix/type.h>

View file

@ -6,7 +6,7 @@
#include <net/ioctl.h>
#include <ansi.h>
#include <minix/ansi.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/select.h>

View file

@ -7,7 +7,7 @@
/* The following are so basic, all the *.c files get them automatically. */
#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 <minix/const.h>
#include <minix/type.h>

View file

@ -6,7 +6,7 @@
#define _SYSTEM 1
#include <minix/config.h>
#include <ansi.h>
#include <minix/ansi.h>
#include <limits.h>
#include <errno.h>
#include <signal.h>

View file

@ -7,7 +7,7 @@
#define _SYSTEM 1 /* get OK and negative error codes */
#define _MINIX 1 /* tell headers to include MINIX stuff */
#include <ansi.h>
#include <minix/ansi.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>

View file

@ -7,7 +7,7 @@
/* The following are so basic, all the *.c files get them automatically. */
#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 <minix/const.h>

View file

@ -21,7 +21,7 @@
/* The following are so basic, all the *.c files get them automatically. */
#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 <minix/const.h>
#include <minix/type.h>