summaryrefslogtreecommitdiffstats
path: root/include/paths.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-24 00:08:43 +0000
committerwollman <wollman@FreeBSD.org>1994-09-24 00:08:43 +0000
commit193a8fae68d5a51a2dad17c0ee77db1a6d60cb98 (patch)
tree435e4d2e36ec5a88d5e2af12354bfba8fc5f8bf9 /include/paths.h
parent89231ffae79ba79bfb400864fb59db987a7d58c7 (diff)
downloadFreeBSD-src-193a8fae68d5a51a2dad17c0ee77db1a6d60cb98.zip
FreeBSD-src-193a8fae68d5a51a2dad17c0ee77db1a6d60cb98.tar.gz
Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
DANGER WILL ROBINSON! _PATH_UNIX is currently defined as the literal string "don't use this". I am of two minds about this myself, but wanted to get something into the tree as quickly as possible.
Diffstat (limited to 'include/paths.h')
-rw-r--r--include/paths.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/paths.h b/include/paths.h
index ecba76c..ffeab09 100644
--- a/include/paths.h
+++ b/include/paths.h
@@ -36,6 +36,8 @@
#ifndef _PATHS_H_
#define _PATHS_H_
+#include <sys/cdefs.h>
+
/* Default search path. */
#define _PATH_DEFPATH "/usr/bin:/bin"
/* All standard utilities path. */
@@ -56,7 +58,7 @@
#define _PATH_SENDMAIL "/usr/sbin/sendmail"
#define _PATH_SHELLS "/etc/shells"
#define _PATH_TTY "/dev/tty"
-#define _PATH_UNIX "/kernel"
+#define _PATH_UNIX "don't use _PATH_UNIX"
#define _PATH_VI "/usr/bin/vi"
/* Provide trailing slash, since mostly used for building pathnames. */
@@ -66,4 +68,9 @@
#define _PATH_VARRUN "/var/run/"
#define _PATH_VARTMP "/var/tmp/"
+/* How to get the correct name of the kernel. */
+__BEGIN_DECLS
+const char *getbootfile __P((void));
+__END_DECLS
+
#endif /* !_PATHS_H_ */
OpenPOWER on IntegriCloud