Adapt to new human and xstrtol API.
commit8188c3b48ded8b53d88440f0736690d2e30508ed
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Aug 2007 11:36:59 +0000 (4 13:36 +0200)
committerJim Meyering <jim@meyering.net>
Sat, 4 Aug 2007 11:36:59 +0000 (4 13:36 +0200)
treeb36bbe8ed28eaa4dc37c9876cc5f71a520bb9fdd
parent33f95a9ab62968a6b13eb1a6a71f180f61721f71
Adapt to new human and xstrtol API.
* src/df.c (long_options): Prepend "--" to long options that
OPT_STR might decode.
* src/du.c (long_options): Likewise.
* src/od.c (long_options): Likewise.
* src/sort.c (long_options): Likewise.
* src/df.c (main): Adjust to new human and xstrtol API.
* src/du.c (main): Likewise.
* src/ls.c (decode_switches): Likewise.
* src/od.c (main): Likewise.
* src/pr.c (first_last_page): Likewise.  New argument OPTION.
All callers changed.
* src/sort.c (specify_sort_size): New arg OPTION.  All callers
changed.  Adjust to new xstrtol API.
* src/system.h (opt_str_storage): New static var.
(OPT_STR, LONG_OPT_STR, OPT_STR_INIT): New macros.
ChangeLog
src/df.c
src/du.c
src/ls.c
src/od.c
src/pr.c
src/sort.c
src/system.h