summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getsubopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/getsubopt.c')
-rw-r--r--src/lib/libc/stdlib/getsubopt.c12
1 files changed, 5 insertions, 7 deletions
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 @@
1/* $OpenBSD: getsubopt.c,v 1.2 2003/06/02 20:18:37 millert Exp $ */ 1/* $OpenBSD: getsubopt.c,v 1.3 2005/03/30 18:51:49 pat Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1990, 1993 4 * Copyright (c) 1990, 1993
@@ -33,7 +33,7 @@
33#if 0 33#if 0
34static char sccsid[] = "@(#)getsubopt.c 8.1 (Berkeley) 6/4/93"; 34static char sccsid[] = "@(#)getsubopt.c 8.1 (Berkeley) 6/4/93";
35#else 35#else
36static char rcsid[] = "$OpenBSD: getsubopt.c,v 1.2 2003/06/02 20:18:37 millert Exp $"; 36static char rcsid[] = "$OpenBSD: getsubopt.c,v 1.3 2005/03/30 18:51:49 pat Exp $";
37#endif 37#endif
38#endif /* not lint */ 38#endif /* not lint */
39 39
@@ -50,12 +50,10 @@ static char rcsid[] = "$OpenBSD: getsubopt.c,v 1.2 2003/06/02 20:18:37 millert E
50char *suboptarg; 50char *suboptarg;
51 51
52int 52int
53getsubopt(optionp, tokens, valuep) 53getsubopt(char **optionp, char * const *tokens, char **valuep)
54 register char **optionp, **valuep;
55 register char * const *tokens;
56{ 54{
57 register int cnt; 55 int cnt;
58 register char *p; 56 char *p;
59 57
60 suboptarg = *valuep = NULL; 58 suboptarg = *valuep = NULL;
61 59