retire _ANSI and <minix/ansi.h>
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||||
#define _SYSTEM 1 /* get OK and negative error codes */
|
||||
|
||||
#include <minix/ansi.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
/* The following are so basic, all the *.c files get them automatically. */
|
||||
#include <minix/config.h> /* MUST be first */
|
||||
#include <minix/ansi.h> /* MUST be second */
|
||||
#include <sys/types.h>
|
||||
#include <minix/const.h>
|
||||
#include <minix/type.h>
|
||||
|
||||
@@ -94,12 +94,6 @@ void inet_panic(void) _NORETURN;
|
||||
do { if (((level) & DEBUG) && (condition)) \
|
||||
{ where(); code; } } while(0)
|
||||
|
||||
#if _ANSI
|
||||
#define ARGS(x) x
|
||||
#else /* _ANSI */
|
||||
#define ARGS(x) ()
|
||||
#endif /* _ANSI */
|
||||
|
||||
extern int this_proc;
|
||||
extern char version[];
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#ifndef _MINIX__QUERYPARAM_H
|
||||
#define _MINIX__QUERYPARAM_H
|
||||
|
||||
#include <minix/ansi.h>
|
||||
|
||||
typedef size_t _mnx_size_t;
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#define _SYSTEM 1 /* get OK and negative error codes */
|
||||
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||||
|
||||
#include <minix/ansi.h>
|
||||
#include <sys/types.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
#define VERBOSE 0 /* display diagnostics */
|
||||
|
||||
#include <minix/ansi.h>
|
||||
#include <sys/types.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
/* The following are so basic, all the *.c files get them automatically. */
|
||||
#include <minix/config.h> /* MUST be first */
|
||||
#include <minix/ansi.h> /* MUST be second */
|
||||
#include <sys/types.h>
|
||||
#include <minix/const.h>
|
||||
#include <minix/type.h>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
/* The following are so basic, all the *.c files get them automatically. */
|
||||
#include <minix/config.h> /* MUST be first */
|
||||
#include <minix/ansi.h> /* MUST be second */
|
||||
#include <sys/types.h>
|
||||
#include <minix/const.h>
|
||||
#include <minix/type.h>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <net/ioctl.h>
|
||||
#endif
|
||||
|
||||
#include <minix/ansi.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
/* The following are so basic, all the *.c files get them automatically. */
|
||||
#include <minix/config.h> /* MUST be first */
|
||||
#include <minix/ansi.h> /* MUST be second */
|
||||
#include <sys/types.h>
|
||||
#include <minix/const.h>
|
||||
#include <minix/type.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#define _SYSTEM 1
|
||||
|
||||
#include <minix/config.h>
|
||||
#include <minix/ansi.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#define _SYSTEM 1 /* get OK and negative error codes */
|
||||
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||||
|
||||
#include <minix/ansi.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
/* The following are so basic, all the *.c files get them automatically. */
|
||||
#include <minix/config.h> /* MUST be first */
|
||||
#include <minix/ansi.h> /* MUST be second */
|
||||
#include <sys/types.h>
|
||||
#include <minix/const.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
/* The following are so basic, all the *.c files get them automatically. */
|
||||
#include <minix/config.h> /* MUST be first */
|
||||
#include <minix/ansi.h> /* MUST be second */
|
||||
#include <sys/types.h>
|
||||
#include <minix/const.h>
|
||||
#include <minix/type.h>
|
||||
|
||||
Reference in New Issue
Block a user