an enum specifier is more elegant than a set of #defines;
authorsobrado <sobrado@openbsd.org>
Sun, 27 Jul 2008 13:15:31 +0000 (13:15 +0000)
committersobrado <sobrado@openbsd.org>
Sun, 27 Jul 2008 13:15:31 +0000 (13:15 +0000)
commitdbf8dc76927d83283b1cbb488f59e7e9d26c58f4
treefce8534d497acd54b3c3167a39ca37053ada4032
parentaf6d793d9f45ee17ca5fe76b3f98bc830796553c
an enum specifier is more elegant than a set of #defines;
storing the program mode variable (pmode) as a global let us have
a more consistent prototype for usage().

changes suggested by pyr@.

ok pyr@
usr.bin/compress/compress.h
usr.bin/compress/main.c