From a2cdd9d93e6854da072770e9d7e9b4cefa6bfb13 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 16 Sep 2000 21:57:16 +0000 Subject: [PATCH] Move SPECNAMELEN from to --- sys/sys/conf.h | 2 -- sys/sys/linedisc.h | 2 -- sys/sys/param.h | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 129066bac3f8..48403b5f0bd0 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -47,8 +47,6 @@ #include #include -#define SPECNAMELEN 15 - struct tty; struct disk; struct vnode; diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h index 129066bac3f8..48403b5f0bd0 100644 --- a/sys/sys/linedisc.h +++ b/sys/sys/linedisc.h @@ -47,8 +47,6 @@ #include #include -#define SPECNAMELEN 15 - struct tty; struct disk; struct vnode; diff --git a/sys/sys/param.h b/sys/sys/param.h index 76edc7485705..9e08e7b90c8e 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