artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e766286
)
optarg/optind are declared in <unistd.h>, so kill the externs here
author
guenther
<guenther@openbsd.org>
Sat, 11 Jan 2014 06:28:46 +0000
(06:28 +0000)
committer
guenther
<guenther@openbsd.org>
Sat, 11 Jan 2014 06:28:46 +0000
(06:28 +0000)
games/fortune/fortune/fortune.c
patch
|
blob
|
history
diff --git
a/games/fortune/fortune/fortune.c
b/games/fortune/fortune/fortune.c
index
c919142
..
0fa6bcb
100644
(file)
--- a/
games/fortune/fortune/fortune.c
+++ b/
games/fortune/fortune/fortune.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: fortune.c,v 1.3
0 2011/01/03 17:38:24 jasper Exp $
*/
+/* $OpenBSD: fortune.c,v 1.3
1 2014/01/11 06:28:46 guenther Exp $
*/
/* $NetBSD: fortune.c,v 1.8 1995/03/23 08:28:40 cgd Exp $ */
/*-
@@
-265,8
+265,6
@@
getargs(int argc, char *argv[])
# ifndef NO_REGEX
char *pat = NULL;
# endif /* NO_REGEX */
- extern char *optarg;
- extern int optind;
int ch;
ignore_case = FALSE;