From 404112110e1cb4033a1ad9b5f10bffe7134e18e3 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 28 Jun 2003 04:55:08 +0000 Subject: ansi & prototype cleanup. tested in mkr on most arch's. ok dhartmei --- usr.sbin/config/ukc.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'usr.sbin/config/ukc.c') 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 @@ -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; -- cgit v1.2.3