diff options
author | grog <grog@FreeBSD.org> | 2003-05-01 01:40:16 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2003-05-01 01:40:16 +0000 |
commit | beb0ffad0fc5e8bbe9e24829ab973114499c9986 (patch) | |
tree | 03e00e41d843b8772f2dfbb8c6b8b76c596bbadd /sbin/vinum | |
parent | f8a75224c1b5773eeb8a61006f1c7c53faf42bdf (diff) | |
download | FreeBSD-src-beb0ffad0fc5e8bbe9e24829ab973114499c9986.zip FreeBSD-src-beb0ffad0fc5e8bbe9e24829ab973114499c9986.tar.gz |
Add the #includes previously in individual .c files.
Change name of history file to History to avoid name conflicts.
Diffstat (limited to 'sbin/vinum')
-rw-r--r-- | sbin/vinum/vext.h | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/sbin/vinum/vext.h b/sbin/vinum/vext.h index fcfb1e4..f065bf1 100644 --- a/sbin/vinum/vext.h +++ b/sbin/vinum/vext.h @@ -35,7 +35,7 @@ */ /* - * $Id: vext.h,v 1.19 2001/05/23 23:00:12 grog Exp grog $ + * $Id: vext.h,v 1.22 2003/04/28 06:19:06 grog Exp $ * $FreeBSD$ */ @@ -43,6 +43,7 @@ #define PLEXINITSIZE 65536 /* init in this size chunks */ #define MAXPLEXINITSIZE 65536 /* max chunk size to use for init */ #define MAXDATETEXT 128 /* date text in history (far too much) */ +#define VINUMDEBUG /* for including kernel headers */ enum { KILOBYTE = 1024, @@ -54,8 +55,31 @@ enum { #define DEFAULT_HISTORYFILE "/var/log/vinum_history" /* default name for history stuff */ +#include <ctype.h> +#include <errno.h> #include <sys/param.h> -#include <sys/errno.h> +#include <fcntl.h> +#include <sys/mman.h> +#include <grp.h> +#include <netdb.h> +#include <paths.h> +#include <setjmp.h> +#include <signal.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <syslog.h> +#include <unistd.h> +#include <sys/ioctl.h> +#include <sys/types.h> +#include <sys/wait.h> +#include <sys/linker.h> +#include <sys/module.h> +#include <sys/resource.h> +#include <readline/history.h> +#include <readline/readline.h> +#include <sys/sysctl.h> + #include <sys/time.h> #include <sys/bio.h> #include <sys/buf.h> @@ -67,7 +91,6 @@ enum { #include <sys/syslog.h> #include <sys/fcntl.h> #include <sys/queue.h> -#include <setjmp.h> #include <stdarg.h> #include <vm/vm.h> #include <dev/vinum/vinumvar.h> @@ -178,7 +201,7 @@ extern int SSize; /* sector size for revive */ extern int dowait; /* wait for children to exit */ extern char *objectname; /* name for some functions */ -extern FILE *history; /* history file */ +extern FILE *History; /* history file */ /* Structures to read kernel data into */ extern struct __vinum_conf vinum_conf; /* configuration information */ |