summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-09-16 21:57:16 +0000
committerphk <phk@FreeBSD.org>2000-09-16 21:57:16 +0000
commitd61cd51c4f6c6fbb4afb6f7d7bbae060fe2691ce (patch)
tree861ed6b76a713fff1f358d1114cd887174a3c286
parent8a948fec9d0a1d8eb748349b8ea7f1fd266dcdef (diff)
downloadFreeBSD-src-d61cd51c4f6c6fbb4afb6f7d7bbae060fe2691ce.zip
FreeBSD-src-d61cd51c4f6c6fbb4afb6f7d7bbae060fe2691ce.tar.gz
Move SPECNAMELEN from <sys/conf.h> to <sys/param.h>
-rw-r--r--sys/sys/conf.h2
-rw-r--r--sys/sys/linedisc.h2
-rw-r--r--sys/sys/param.h1
3 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 129066b..48403b5 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -47,8 +47,6 @@
#include <sys/queue.h>
#include <sys/eventhandler.h>
-#define SPECNAMELEN 15
-
struct tty;
struct disk;
struct vnode;
diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h
index 129066b..48403b5 100644
--- a/sys/sys/linedisc.h
+++ b/sys/sys/linedisc.h
@@ -47,8 +47,6 @@
#include <sys/queue.h>
#include <sys/eventhandler.h>
-#define SPECNAMELEN 15
-
struct tty;
struct disk;
struct vnode;
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 76edc74..9e08e7b 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -74,6 +74,7 @@
#define NOFILE OPEN_MAX /* max open files per process */
#define NOGROUP 65535 /* marker for empty group set member */
#define MAXHOSTNAMELEN 256 /* max hostname size */
+#define SPECNAMELEN 15 /* max length of devicename */
/* More types and definitions used throughout the kernel. */
#ifdef _KERNEL
OpenPOWER on IntegriCloud