1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00
openbsd-src/usr.bin/uniq
cheloha 17a80e6ed0 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.
2022-01-01 18:20:52 +00:00
..
Makefile
uniq.1 Add HISTORY section. OK schwarze@. 2021-11-02 15:12:09 +00:00
uniq.c uniq(1): miscellaneous style(9)-ish stuff 2022-01-01 18:20:52 +00:00