diff options
| author | Philippe Charnier <charnier@FreeBSD.org> | 2002-10-16 12:56:22 +0000 |
|---|---|---|
| committer | Philippe Charnier <charnier@FreeBSD.org> | 2002-10-16 12:56:22 +0000 |
| commit | 8a9d51c4f880ee698565e5551c1bc8d9f4f8a852 (patch) | |
| tree | 0857bc3a8e17ad4ea669d0117cc1e5061603c91c /usr.bin | |
| parent | 6dc4364cd692fc9c20651e246f9cc818386f8319 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/colldef/parse.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y index e362bb027338c..c35ea7ee2c756 100644 --- a/usr.bin/colldef/parse.y +++ b/usr.bin/colldef/parse.y @@ -34,7 +34,6 @@ __FBSDID("$FreeBSD$"); #include <stdarg.h> #include <stdio.h> #include <string.h> -#include <stdlib.h> #include <unistd.h> #include <sysexits.h> #include "collate.h" @@ -297,9 +296,9 @@ main(int ac, char **av) int ch; #ifdef COLLATE_DEBUG - while((ch = getopt(ac, av, ":do:I:")) != EOF) { + while((ch = getopt(ac, av, ":do:I:")) != -1) { #else - while((ch = getopt(ac, av, ":o:I:")) != EOF) { + while((ch = getopt(ac, av, ":o:I:")) != -1) { #endif switch (ch) { |
