diff options
author | imp <imp@FreeBSD.org> | 1999-04-25 22:14:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-04-25 22:14:06 +0000 |
commit | 35d2979599d0ad7a7aaf62f3d59fc099119b76d3 (patch) | |
tree | 8197f7fbf0f9e55d804711e8b4bf3553635cb376 /gnu/usr.bin/sort | |
parent | 107cc59b3636d12d04ae2db934ee05542418eaa8 (diff) | |
download | FreeBSD-src-35d2979599d0ad7a7aaf62f3d59fc099119b76d3.zip FreeBSD-src-35d2979599d0ad7a7aaf62f3d59fc099119b76d3.tar.gz |
Use braces to avoid potentially ambiguous else clause.
main's return type is int not void.
Reviewed by: obrien and chuckr
Diffstat (limited to 'gnu/usr.bin/sort')
-rw-r--r-- | gnu/usr.bin/sort/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/sort/sort.c b/gnu/usr.bin/sort/sort.c index c1d9004..f1976b4 100644 --- a/gnu/usr.bin/sort/sort.c +++ b/gnu/usr.bin/sort/sort.c @@ -1719,7 +1719,7 @@ set_ordering (register const char *s, struct keyfield *key, return (char *) s; } -void +int main (int argc, char **argv) { struct keyfield *key = NULL, gkey; |