retire _ANSI and <minix/ansi.h>

This commit is contained in:
Ben Gras
2012-03-25 21:04:28 +02:00
parent f22864c24e
commit 204ae72525
55 changed files with 2 additions and 133 deletions

View File

@@ -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 \

View File

@@ -1,6 +1,5 @@
#ifndef _DDEKIT_DDEKIT_H
#define _DDEKIT_DDEKIT_H
#include <minix/ansi.h>
void ddekit_init(void);
#endif

View File

@@ -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);

View File

@@ -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>

View File

@@ -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 */

View File

@@ -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>

View File

@@ -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>

View File

@@ -2,7 +2,6 @@
#define _IPC_H
#ifdef __NBSD_LIBC
#include <minix/ansi.h>
#endif
#include <minix/ipcconst.h>
#include <minix/type.h>

View File

@@ -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

View File

@@ -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>

View File

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

View File

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

View File

@@ -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>

View File

@@ -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_ */