CVSROOT: /cvs Module name: src Changes by: chel...@cvs.openbsd.org 2022/01/01 11:20:52
Modified files: usr.bin/uniq : uniq.c Log message: uniq(1): miscellaneous style(9)-ish stuff - Include what you use: + Add <strings.h> for strcasecmp(3). + Drop <errno.h>, unused. - Pull the "errstr" declaration out of the getopt(3) loop up to the top of main(). - Align the strtonum(3) error messages with the argument names in the uniq.1 manpage and the usage string. They are referred to as "chars" and "fields". - Trim some whitespace. - Return from main() instead of exit(3). - De-(void) fprintf(3). - Prefer getprogname(3) to __progname.