diff options
author | Dima Dorfman <dd@FreeBSD.org> | 2001-06-24 18:43:33 +0000 |
---|---|---|
committer | Dima Dorfman <dd@FreeBSD.org> | 2001-06-24 18:43:33 +0000 |
commit | 167ce4fb005015eb751409c9838051b28f44b524 (patch) | |
tree | 6555bf60c8c7f9aff70d16260106871c96802964 /usr.sbin/lptcontrol/lptcontrol.c | |
parent | dfe60c7914683c0ec1bda29b9708371e06ed86dc (diff) | |
download | src-test2-167ce4fb005015eb751409c9838051b28f44b524.tar.gz src-test2-167ce4fb005015eb751409c9838051b28f44b524.zip |
Notes
Diffstat (limited to 'usr.sbin/lptcontrol/lptcontrol.c')
-rw-r--r-- | usr.sbin/lptcontrol/lptcontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/lptcontrol/lptcontrol.c b/usr.sbin/lptcontrol/lptcontrol.c index 7d71cd5663bf..ee4d0dd0ad9d 100644 --- a/usr.sbin/lptcontrol/lptcontrol.c +++ b/usr.sbin/lptcontrol/lptcontrol.c @@ -56,7 +56,7 @@ static const char rcsid[] = #define USE_EXT_MODE 2 #define USE_STD_MODE 3 -static void usage() +static void usage(void) { fprintf(stderr, "usage: lptcontrol -i | -p | -s | -e [-d device]\n"); exit(1); @@ -77,7 +77,7 @@ int main (int argc, char * argv[]) { int opt; int irq_status = IRQ_INVALID; - char *device = DEFAULT_DEVICE; + const char *device = DEFAULT_DEVICE; while((opt = getopt(argc, argv, "ipesd:")) != -1) switch(opt) { |