diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-07-15 23:12:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-07-15 23:12:57 +0000 |
commit | b7a6a7507475267b084236566b8b21631ce9d6fa (patch) | |
tree | 95ec9f02db537a6cf5a98e752e7562761a7652de /sys | |
parent | 62a48bd9e5b421306ee8c167274d95b0fb76bbce (diff) |
move NZERO for XPG3; kleink
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/param.h | 4 | ||||
-rw-r--r-- | sys/sys/syslimits.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h index ba84d44a3db..61b63736d41 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.19 1998/03/07 22:41:37 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.20 1998/07/15 23:12:55 deraadt Exp $ */ /* $NetBSD: param.h,v 1.23 1996/03/17 01:02:29 thorpej Exp $ */ /*- @@ -114,8 +114,6 @@ #define PRIMASK 0x0ff #define PCATCH 0x100 /* OR'd with pri for tsleep to check signals */ -#define NZERO 0 /* default "nice" */ - #define NBPW sizeof(int) /* number of bytes per word (integer) */ #define CMASK 022 /* default file mask: S_IWGRP|S_IWOTH */ diff --git a/sys/sys/syslimits.h b/sys/sys/syslimits.h index 405c7bd9c3c..2219b088080 100644 --- a/sys/sys/syslimits.h +++ b/sys/sys/syslimits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syslimits.h,v 1.3 1997/12/16 08:07:57 angelos Exp $ */ +/* $OpenBSD: syslimits.h,v 1.4 1998/07/15 23:12:56 deraadt Exp $ */ /* $NetBSD: syslimits.h,v 1.12 1995/10/05 05:26:19 thorpej Exp $ */ /* @@ -58,4 +58,10 @@ #ifndef RE_DUP_MAX #define RE_DUP_MAX 255 /* max RE's in interval notation */ #endif + +#if !defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) +#define NZERO 20 /* default "nice" */ +#endif /* !_POSIX_C_SOURCE || _XOPEN_SOURCE */ + #endif + |