From 894b6ab0099e7d9ca2ad9acb75246cd0a4542167 Mon Sep 17 00:00:00 2001 From: pat <> Date: Wed, 30 Mar 2005 18:51:49 +0000 Subject: ansi + de-register ok otto deraadt --- src/lib/libc/stdlib/getsubopt.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/lib/libc/stdlib/getsubopt.c') diff --git a/src/lib/libc/stdlib/getsubopt.c b/src/lib/libc/stdlib/getsubopt.c index 308458ea75..dfd7a50bd8 100644 --- a/src/lib/libc/stdlib/getsubopt.c +++ b/src/lib/libc/stdlib/getsubopt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getsubopt.c,v 1.2 2003/06/02 20:18:37 millert Exp $ */ +/* $OpenBSD: getsubopt.c,v 1.3 2005/03/30 18:51:49 pat Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -33,7 +33,7 @@ #if 0 static char sccsid[] = "@(#)getsubopt.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$OpenBSD: getsubopt.c,v 1.2 2003/06/02 20:18:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: getsubopt.c,v 1.3 2005/03/30 18:51:49 pat Exp $"; #endif #endif /* not lint */ @@ -50,12 +50,10 @@ static char rcsid[] = "$OpenBSD: getsubopt.c,v 1.2 2003/06/02 20:18:37 millert E char *suboptarg; int -getsubopt(optionp, tokens, valuep) - register char **optionp, **valuep; - register char * const *tokens; +getsubopt(char **optionp, char * const *tokens, char **valuep) { - register int cnt; - register char *p; + int cnt; + char *p; suboptarg = *valuep = NULL; -- cgit v1.2.3-55-g6feb