diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-09-06 12:43:42 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-09-06 12:43:42 +0000 |
commit | 5b5910f882a025180081eb92c29a2ae9edad43db (patch) | |
tree | 7fca48a2cf7e02a93fd261fa809aadfd387f275e /sys/kern | |
parent | 5677164a9fa83909171d6eaaecbd33fa5a49d4a8 (diff) |
Call me "Pedant"! prototype mismatches fixed and unused var removed
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_userconf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/subr_userconf.c b/sys/kern/subr_userconf.c index 5fa4618bb1b..144daa98ada 100644 --- a/sys/kern/subr_userconf.c +++ b/sys/kern/subr_userconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_userconf.c,v 1.8 1996/09/06 08:53:43 maja Exp $ */ +/* $OpenBSD: subr_userconf.c,v 1.9 1996/09/06 12:43:41 niklas Exp $ */ /* * Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se> @@ -757,6 +757,7 @@ userconf_common_dev(dev, len, unit, state, routine) } +void userconf_add_read(prompt,field,dev,len,val) char *prompt; char field; @@ -806,6 +807,7 @@ userconf_add_read(prompt,field,dev,len,val) } } +void userconf_add(dev,len,unit,state) char *dev; int len; @@ -813,7 +815,6 @@ userconf_add(dev,len,unit,state) { int i = 0, found = 0; struct cfdata new = {0}; - char cmd; int val, max_unit; if (userconf_maxdev == userconf_totdev) { |