diff options
author | imp <imp@FreeBSD.org> | 2000-09-04 06:09:54 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-09-04 06:09:54 +0000 |
commit | 3c95f9ccdee03bbd5201ce0c06d795f6b132e266 (patch) | |
tree | 4e524d498db186c036b4495d56fd8d77c6a9d266 /usr.bin/rup | |
parent | 180527062b861cb7c3ec4718c0522abe8677950a (diff) | |
download | FreeBSD-src-3c95f9ccdee03bbd5201ce0c06d795f6b132e266.zip FreeBSD-src-3c95f9ccdee03bbd5201ce0c06d795f6b132e266.tar.gz |
getopt and friends are declared in <unistd.h>
getopt returns -1 not EOF.
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 b916e9d..aeadfc5 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) { |