diff options
author | wollman <wollman@FreeBSD.org> | 2002-07-15 21:56:40 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2002-07-15 21:56:40 +0000 |
commit | e52f5b3dbcfcdd9075e1e0fa98e7772e29de9dfe (patch) | |
tree | cda2eb8f6f5e787a5901b4da4553bc1d5b5fd4f3 | |
parent | b2f83d271c9761c87d3b169ea14f62b35a880814 (diff) | |
download | FreeBSD-src-e52f5b3dbcfcdd9075e1e0fa98e7772e29de9dfe.zip FreeBSD-src-e52f5b3dbcfcdd9075e1e0fa98e7772e29de9dfe.tar.gz |
Move _CS_PATH from <sys/unistd.h> to <unistd.h> -- the kernel isn't involved
in confstr() processing.
-rw-r--r-- | include/unistd.h | 2 | ||||
-rw-r--r-- | sys/sys/unistd.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/unistd.h b/include/unistd.h index ff858bf..7abf307 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -141,6 +141,8 @@ int getopt(int, char * const [], const char *); extern char *optarg; /* getopt(3) external variables */ extern int optind, opterr, optopt; + +#define _CS_PATH 1 /* default value of PATH */ #endif /* ISO/IEC 9945-1: 1996 */ diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h index ca0a0c6..1a49297 100644 --- a/sys/sys/unistd.h +++ b/sys/sys/unistd.h @@ -145,9 +145,6 @@ #define _SC_STREAM_MAX 26 #define _SC_TZNAME_MAX 27 -/* configurable system strings */ -#define _CS_PATH 1 - #ifdef _P1003_1B_VISIBLE #define _POSIX_PRIORITY_SCHEDULING |