diff options
author | Warner Losh <imp@FreeBSD.org> | 2000-09-04 06:09:54 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2000-09-04 06:09:54 +0000 |
commit | 62f882d620bdfa783c01626012d69f468ba34e28 (patch) | |
tree | 61f47bc195ec448ef18491672dd800c17c51c67d /usr.bin/rup | |
parent | b07b8563ff4c0802ccb1cefdc6aca67c8896c6d1 (diff) | |
download | src-test2-62f882d620bdfa783c01626012d69f468ba34e28.tar.gz src-test2-62f882d620bdfa783c01626012d69f468ba34e28.zip |
getopt and friends are declared in <unistd.h>
getopt returns -1 not EOF.
Notes
Notes:
svn path=/head/; revision=65428
Diffstat (limited to 'usr.bin/rup')
-rw-r--r-- | usr.bin/rup/rup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/rup/rup.c b/usr.bin/rup/rup.c index b916e9d23440..aeadfc56ef17 100644 --- a/usr.bin/rup/rup.c +++ b/usr.bin/rup/rup.c @@ -208,7 +208,6 @@ int main(int argc, char *argv[]) { int ch; - extern int optind; while ((ch = getopt(argc, argv, "?")) != -1) switch (ch) { |