summaryrefslogtreecommitdiff
path: root/usr.sbin/config/ukc.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-28 04:55:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-28 04:55:08 +0000
commit404112110e1cb4033a1ad9b5f10bffe7134e18e3 (patch)
tree5198c8f9b20a97eeae9f794209365e1fe46d8f78 /usr.sbin/config/ukc.c
parenta98736561f69c746fdaf57749c4a1eaece796924 (diff)
ansi & prototype cleanup. tested in mkr on most arch's. ok dhartmei
Diffstat (limited to 'usr.sbin/config/ukc.c')
-rw-r--r--usr.sbin/config/ukc.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr.sbin/config/ukc.c b/usr.sbin/config/ukc.c
index a95b0b36a2e..0d59aa53eb5 100644
--- a/usr.sbin/config/ukc.c
+++ b/usr.sbin/config/ukc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ukc.c,v 1.10 2003/06/02 21:19:03 maja Exp $ */
+/* $OpenBSD: ukc.c,v 1.11 2003/06/28 04:55:07 deraadt Exp $ */
/*
* Copyright (c) 1999-2001 Mats O Jansson. All rights reserved.
@@ -25,7 +25,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ukc.c,v 1.10 2003/06/02 21:19:03 maja Exp $";
+static char rcsid[] = "$OpenBSD: ukc.c,v 1.11 2003/06/28 04:55:07 deraadt Exp $";
#endif
#include <sys/types.h>
@@ -60,11 +60,7 @@ check_int(int idx, const char *name)
}
int
-ukc(file, outfile, uflag, force)
- char *file;
- char *outfile;
- int uflag;
- int force;
+ukc(char *file, char *outfile, int uflag, int force)
{
extern char *__progname;
int ret, i;
@@ -184,7 +180,7 @@ WARNING this kernel doesn't support pseudo devices.\n");
}
void
-init()
+init(void)
{
int i = 0, fd;
struct cfdata *cd;