summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-07-15 21:56:40 +0000
committerwollman <wollman@FreeBSD.org>2002-07-15 21:56:40 +0000
commite52f5b3dbcfcdd9075e1e0fa98e7772e29de9dfe (patch)
treecda2eb8f6f5e787a5901b4da4553bc1d5b5fd4f3
parentb2f83d271c9761c87d3b169ea14f62b35a880814 (diff)
downloadFreeBSD-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.h2
-rw-r--r--sys/sys/unistd.h3
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
OpenPOWER on IntegriCloud