summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-04-18 13:36:29 +0000
committerpeter <peter@FreeBSD.org>1999-04-18 13:36:29 +0000
commite0200a9fdea9ada7eb6f9af2ac7b63fcf5112e61 (patch)
treeccd7a5789ca34e7c46920f962ce52077a7c1d1c6 /usr.sbin/config/config.h
parent219dec9bd389788fb4eb631f353e772a61532626 (diff)
downloadFreeBSD-src-e0200a9fdea9ada7eb6f9af2ac7b63fcf5112e61.zip
FreeBSD-src-e0200a9fdea9ada7eb6f9af2ac7b63fcf5112e61.tar.gz
Further cleanups. i386_ioconf.c and alpha_ioconf.c were essentially the
same and were merged into a single newbus_ioconf.c. CG'd some more unused code.
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r--usr.sbin/config/config.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h
index 5a72b17..8d462e4 100644
--- a/usr.sbin/config/config.h
+++ b/usr.sbin/config/config.h
@@ -147,8 +147,8 @@ struct config {
/*
* Config has a global notion of which machine type is
* being used. It uses the name of the machine in choosing
- * files and directories. Thus if the name of the machine is ``vax'',
- * it will build from ``Makefile.vax'' and use ``../vax/inline''
+ * files and directories. Thus if the name of the machine is ``i386'',
+ * it will build from ``Makefile.i386'' and use ``../i386/inline''
* in the makerules, etc.
*/
int machine;
@@ -188,23 +188,24 @@ struct opt_list {
extern char *ident;
extern int do_trace;
-char *ns();
-char *tc();
-char *get_word();
-char *get_quoted_word();
-char *path();
-char *raisestr();
-void moveifchanged();
-dev_t nametodev();
-char *devtoname();
+char *get_word __P((FILE *));
+char *get_quoted_word __P((FILE *));
+char *path __P((char *));
+char *raisestr __P((char *));
+void moveifchanged __P((const char *, const char *));
+dev_t nametodev __P((char *, int, int, char));
+char *devtoname __P((dev_t));
void init_dev __P((struct device *));
+void newbus_ioconf __P((void));
+int yyparse __P((void));
+int yylex __P((void));
+void options __P((void));
+void makefile __P((void));
+void headers __P((void));
+void swapconf __P((void));
-#if MACHINE_I386
-extern int seen_isa;
extern int seen_scbus;
-#endif
-
extern struct device *dtab;
extern char errbuf[80];
OpenPOWER on IntegriCloud