Removing obsolete _MINIX_SOURCE define
Change-Id: I924d5af294cd5daf17c73f71803f060cea3c3d8b
This commit is contained in:
parent
8e4736f2df
commit
813d4c6a36
@ -7,7 +7,7 @@ Manipulate ARP table
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 2
|
#define _POSIX_C_SOURCE 2
|
||||||
#define _MINIX_SOURCE
|
#define _NETBSD_SOURCE 1
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
* 7 Dec 1996
|
* 7 Dec 1996
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _MINIX_SOURCE
|
|
||||||
#define _MINIX 1
|
|
||||||
|
|
||||||
#define nil ((void*)0)
|
#define nil ((void*)0)
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -4,10 +4,6 @@
|
|||||||
Adapted to POSIX 1003.2 by Philip Homburg.
|
Adapted to POSIX 1003.2 by Philip Homburg.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __minix_vmd
|
|
||||||
#define _MINIX_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@ -4,8 +4,8 @@ tcpstat.c
|
|||||||
Created: June 1995 by Philip Homburg <philip@f-mnx.phicoh.com>
|
Created: June 1995 by Philip Homburg <philip@f-mnx.phicoh.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _MINIX_SOURCE
|
|
||||||
#define _POSIX_C_SOURCE 2
|
#define _POSIX_C_SOURCE 2
|
||||||
|
#define _NETBSD_SOURCE 1
|
||||||
|
|
||||||
#include <inet/inet.h>
|
#include <inet/inet.h>
|
||||||
#undef printf
|
#undef printf
|
||||||
|
@ -4,8 +4,8 @@ udpstat.c
|
|||||||
Created: March 2001 by Philip Homburg <philip@f-mnx.phicoh.com>
|
Created: March 2001 by Philip Homburg <philip@f-mnx.phicoh.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _MINIX_SOURCE
|
|
||||||
#define _POSIX_C_SOURCE 2
|
#define _POSIX_C_SOURCE 2
|
||||||
|
#define _NETBSD_SOURCE 1
|
||||||
|
|
||||||
#include <inet/inet.h>
|
#include <inet/inet.h>
|
||||||
#undef printf
|
#undef printf
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/* execve() - basic program execution call Author: Kees J. Bot
|
/* execve() - basic program execution call Author: Kees J. Bot
|
||||||
* 21 Jan 1994
|
* 21 Jan 1994
|
||||||
*/
|
*/
|
||||||
#define _MINIX_SOURCE
|
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#include "namespace.h"
|
#include "namespace.h"
|
||||||
|
@ -4,7 +4,7 @@ reboot \- close down the system or reboot
|
|||||||
.SH SYNTAX
|
.SH SYNTAX
|
||||||
.ft B
|
.ft B
|
||||||
.nf
|
.nf
|
||||||
#define _MINIX_SOURCE 1
|
#define _NETBSD_SOURCE 1
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
@ -35,8 +35,6 @@ from DL_ETH:
|
|||||||
|
|
||||||
#include "inet.h"
|
#include "inet.h"
|
||||||
|
|
||||||
#define _MINIX_SOURCE 1
|
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/svrctl.h>
|
#include <sys/svrctl.h>
|
||||||
|
@ -9,8 +9,6 @@ Modified: Apr 07, 2001 by Kees J. Bot
|
|||||||
Copyright 1995 Philip Homburg
|
Copyright 1995 Philip Homburg
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _MINIX_SOURCE 1
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -9,8 +9,8 @@ Modified: Apr 07, 2001 by Kees J. Bot
|
|||||||
Copyright 1995 Philip Homburg
|
Copyright 1995 Philip Homburg
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _MINIX_SOURCE 1
|
|
||||||
#define _POSIX_SOURCE 1
|
#define _POSIX_SOURCE 1
|
||||||
|
#define _NETBSD_SOURCE 1
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user