retire _ANSI and <minix/ansi.h>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
INCS+= env.h fetch.h lib.h libutil.h timers.h
|
||||
|
||||
INCS+= minix/acpi.h minix/ansi.h minix/audio_fw.h minix/bitmap.h \
|
||||
INCS+= minix/acpi.h minix/audio_fw.h minix/bitmap.h \
|
||||
minix/bdev.h minix/blockdriver.h minix/blockdriver_mt.h \
|
||||
minix/btrace.h \
|
||||
minix/callnr.h minix/chardriver.h minix/com.h minix/compiler.h \
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#ifndef _DDEKIT_DDEKIT_H
|
||||
#define _DDEKIT_DDEKIT_H
|
||||
#include <minix/ansi.h>
|
||||
void ddekit_init(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifdef __NBSD_LIBC
|
||||
#include <minix/ansi.h>
|
||||
#endif
|
||||
int env_parse(char *env, char *fmt, int field, long *param, long min,
|
||||
long max);
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include <minix/types.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
#include <minix/ansi.h>
|
||||
|
||||
#include <minix/const.h>
|
||||
#include <minix/com.h>
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
#ifndef _MINIX_ANSI_H
|
||||
#define _MINIX_ANSI_H
|
||||
|
||||
#if __STDC__ == 1
|
||||
#define _ANSI 31459 /* compiler claims full ANSI conformance */
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define _ANSI 31459 /* gcc conforms enough even in non-ANSI mode */
|
||||
#endif
|
||||
|
||||
/* Setting of _POSIX_SOURCE (or _NETBSD_SOURCE) in NBSD headers is
|
||||
* done in <sys/featuretest.h> */
|
||||
#include <sys/featuretest.h>
|
||||
|
||||
#endif /* _MINIX_ANSI_H */
|
||||
@@ -9,7 +9,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 <minix/type.h>
|
||||
#include <minix/ipc.h>
|
||||
#include <minix/com.h>
|
||||
|
||||
@@ -11,7 +11,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 <minix/type.h>
|
||||
#include <minix/com.h>
|
||||
#include <minix/dmap.h>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#define _IPC_H
|
||||
|
||||
#ifdef __NBSD_LIBC
|
||||
#include <minix/ansi.h>
|
||||
#endif
|
||||
#include <minix/ipcconst.h>
|
||||
#include <minix/type.h>
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
#ifndef _MINLIB
|
||||
#define _MINLIB
|
||||
|
||||
#ifndef _MINIX_ANSI_H
|
||||
#include <minix/ansi.h>
|
||||
#endif
|
||||
|
||||
/* Miscellaneous BSD. */
|
||||
char *itoa(int _n);
|
||||
#ifndef __NBSD_LIBC
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#define _MTHREAD_H
|
||||
|
||||
#include <minix/config.h> /* MUST be first */
|
||||
#include <minix/ansi.h> /* MUST be second */
|
||||
#include <minix/const.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef _PROFILE_H
|
||||
#define _PROFILE_H
|
||||
|
||||
#include <minix/ansi.h>
|
||||
#include <minix/type.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#ifndef _MINIX__QUERYPARAM_H
|
||||
#define _MINIX__QUERYPARAM_H
|
||||
|
||||
#include <minix/ansi.h>
|
||||
|
||||
typedef size_t _mnx_size_t;
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#define _MINIX_TYPES_H_
|
||||
|
||||
/* Dummy file used in legacy (and shared) minix includes. */
|
||||
#include <minix/ansi.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/sigtypes.h>
|
||||
|
||||
|
||||
@@ -484,7 +484,6 @@
|
||||
|
||||
#ifdef _MINIX
|
||||
/* If compiling in Minix tree, Minix ANSI definitions are always useful. */
|
||||
#include <minix/ansi.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_SYS_CDEFS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user