Removing obsolete _MINIX define

Change-Id: Id33ac7e973d1c0e249b690fe44a597474fac6076
This commit is contained in:
2013-02-25 12:43:15 +01:00
parent f360500351
commit 8e4736f2df
102 changed files with 122 additions and 239 deletions

View File

@@ -75,13 +75,13 @@ int select(int, fd_set * __restrict, fd_set * __restrict,
__END_DECLS
#endif /* _KERNEL */
#ifdef _MINIX
#if defined(__minix) && defined(_NETBSD_SOURCE)
/* possible select() operation types; read, write, errors */
/* (FS/driver internal use only) */
#define SEL_RD (1 << 0)
#define SEL_WR (1 << 1)
#define SEL_ERR (1 << 2)
#define SEL_NOTIFY (1 << 3) /* not a real select operation */
#endif
#endif /* defined(__minix) && defined(_NETBSD_SOURCE) */
#endif /* !_SYS_SELECT_H_ */

View File

@@ -77,7 +77,7 @@
#define SIGTTIN 22 /* background process wants to read */
#define SIGTTOU 23 /* background process wants to write */
#ifdef _MINIX
#if defined(__minix) && defined(_NETBSD_SOURCE)
#define SIGIOT SIGABRT /* for people who speak PDP-11 */
/* MINIX specific signals. These signals are not used by user proceses,
@@ -110,7 +110,7 @@
|| (sig == SIGKILL || sig == SIGPIPE))
#define SIGS_IS_STACKTRACE(sig) (SIGS_IS_LETHAL(sig) && sig != SIGABRT)
#endif
#endif /* defined(__minix) && deinfed(_NETBSD_SOURCE) */
#ifndef _KERNEL
#include <sys/cdefs.h>

View File

@@ -115,7 +115,7 @@ typedef u32_t big_nlink_t;
typedef u32_t big_uid_t;
#ifdef _MINIX
#ifdef _NETBSD_SOURCE
/* some Minix specific types that do not conflict with posix */
typedef uint32_t zone_t; /* zone number */
typedef uint32_t block_t; /* block number */