From bf5f205b0a5e23f4b4093ab585b53997a45013ef Mon Sep 17 00:00:00 2001 From: niklas Date: Fri, 6 Sep 1996 12:43:41 +0000 Subject: [PATCH] Call me "Pedant"! prototype mismatches fixed and unused var removed --- sys/kern/subr_userconf.c | 5 +++-- 1 file 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 @@ -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) { -- 2.20.1