Skip to content

Commit

Permalink
<ansi.h> -> <minix/ansi.h>
Browse files Browse the repository at this point in the history
  • Loading branch information
bengras committed Jan 28, 2011
1 parent e912f6a commit dc1cc91
Show file tree
Hide file tree
Showing 69 changed files with 99 additions and 97 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion commands/autil/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
8 changes: 4 additions & 4 deletions commands/cawf/ansi.h
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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 */
Expand Down Expand Up @@ -53,4 +53,4 @@

#endif /* _ANSI */

#endif /* ANSI_H */
#endif /* _MINIX_ANSI_H */
2 changes: 1 addition & 1 deletion commands/dis386/dise.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion commands/dis386/diso.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion commands/elle/eeproto.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _ANSI
#include <ansi.h>
#include <minix/ansi.h>
#endif

/* eebit.c */
Expand Down
2 changes: 1 addition & 1 deletion commands/elle/sbproto.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _ANSI
#include <ansi.h>
#include <minix/ansi.h>
#endif

/* sbbcpy.c */
Expand Down
2 changes: 1 addition & 1 deletion commands/mdb/mdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@


#include <minix/config.h>
#include <ansi.h>
#include <minix/ansi.h>
#include <sys/types.h>

#include <minix/const.h>
Expand Down
4 changes: 2 additions & 2 deletions include/Makefile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions include/assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

#undef assert

#ifndef _ANSI_H
#include <ansi.h>
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
#endif

#ifdef NDEBUG
Expand Down
4 changes: 2 additions & 2 deletions include/ctype.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion include/err.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion include/libgen.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) );
Expand Down
4 changes: 2 additions & 2 deletions include/locale.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions include/math.h
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
4 changes: 2 additions & 2 deletions include/minix/a.out.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) );
Expand Down
8 changes: 4 additions & 4 deletions include/ansi.h → include/minix/ansi.h
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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 */
Expand Down Expand Up @@ -73,4 +73,4 @@
#include <stdarg.h>
#define _BSD_VA_LIST_ va_list

#endif /* ANSI_H */
#endif /* _MINIX_ANSI_H */
2 changes: 1 addition & 1 deletion include/minix/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion include/minix/drivers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions include/minix/minlib.h
Original file line number Diff line number Diff line change
@@ -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. */
Expand Down
2 changes: 1 addition & 1 deletion include/minix/mthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion include/minix/profile.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef _PROFILE_H
#define _PROFILE_H

#include <ansi.h>
#include <minix/ansi.h>
#include <minix/type.h>

/*
Expand Down
2 changes: 1 addition & 1 deletion include/minix/queryparam.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions include/minix/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion include/net/netlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions include/regexp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions include/setjmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions include/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions include/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions include/stdlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions include/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) );
Expand Down
2 changes: 1 addition & 1 deletion include/strings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) );
Expand Down
4 changes: 2 additions & 2 deletions include/sys/mount.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions include/sys/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) );
Expand Down
4 changes: 2 additions & 2 deletions include/sys/sigcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/sys/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit dc1cc91

Please sign in to comment.