summaryrefslogtreecommitdiff
path: root/usr.sbin/config/ukc.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.sbin/config/ukc.h
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.sbin/config/ukc.h')
-rw-r--r--usr.sbin/config/ukc.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/usr.sbin/config/ukc.h b/usr.sbin/config/ukc.h
index 7745e9fe742..ef82f1e5501 100644
--- a/usr.sbin/config/ukc.h
+++ b/usr.sbin/config/ukc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ukc.h,v 1.6 2001/12/05 10:11:23 deraadt Exp $ */
+/* $OpenBSD: ukc.h,v 1.7 2002/02/16 21:28:01 millert Exp $ */
/*
* Copyright (c) 1999-2001 Mats O Jansson. All rights reserved.
@@ -117,34 +117,34 @@ extern int oldkernel;
extern int nopdev;
#endif
-struct cfdata *get_cfdata __P((int));
-short *get_locnamp __P((int));
-caddr_t *get_locnames __P((int));
-int *get_extraloc __P((int));
-char *get_pdevnames __P((int));
-struct pdevinit *get_pdevinit __P((int));
+struct cfdata *get_cfdata(int);
+short *get_locnamp(int);
+caddr_t *get_locnames(int);
+int *get_extraloc(int);
+char *get_pdevnames(int);
+struct pdevinit *get_pdevinit(int);
-int more __P(());
-void pnum __P((int));
-void pdevnam __P((short));
-void pdev __P((short));
-int number __P((char *, int *));
-int device __P((char *, int *, short *, short *));
-int attr __P((char *, int *));
-void modify __P((char *, int *));
-void change __P((int));
-void disable __P((int));
-void enable __P((int));
-void show __P((void));
-void common_attr_val __P((short, int *, char));
-void show_attr __P((char *));
-void common_dev __P((char *, int, short, short, char));
-void common_attr __P((char *, int, char));
-void add_read __P((char *, char, char *, int, int *));
-void add __P((char *, int, short, short));
+int more();
+void pnum(int);
+void pdevnam(short);
+void pdev(short);
+int number(char *, int *);
+int device(char *, int *, short *, short *);
+int attr(char *, int *);
+void modify(char *, int *);
+void change(int);
+void disable(int);
+void enable(int);
+void show(void);
+void common_attr_val(short, int *, char);
+void show_attr(char *);
+void common_dev(char *, int, short, short, char);
+void common_attr(char *, int, char);
+void add_read(char *, char, char *, int, int *);
+void add(char *, int, short, short);
-int config __P(());
-void process_history __P((int, char *));
+int config();
+void process_history(int, char *);
#define UC_CHANGE 'c'
#define UC_DISABLE 'd'