diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 08:18:30 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 08:18:30 +0000 |
commit | 25b4fbd02b913d2e9be2275196d4d3254751ba4b (patch) | |
tree | 1a8800acddad4c59b2163d98f873efe7d83c8301 /usr.bin/usbhidctl/usbhid.c | |
parent | 8eae2b0d9c57d68df9770384b3e05fe0bc864559 (diff) | |
download | FreeBSD-src-25b4fbd02b913d2e9be2275196d4d3254751ba4b.zip FreeBSD-src-25b4fbd02b913d2e9be2275196d4d3254751ba4b.tar.gz |
Add missing static keywords to usbhidctl(1)
Diffstat (limited to 'usr.bin/usbhidctl/usbhid.c')
-rw-r--r-- | usr.bin/usbhidctl/usbhid.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/usbhidctl/usbhid.c b/usr.bin/usbhidctl/usbhid.c index bf3e348..2a28e3e 100644 --- a/usr.bin/usbhidctl/usbhid.c +++ b/usr.bin/usbhidctl/usbhid.c @@ -42,7 +42,7 @@ #include <usbhid.h> #include <dev/usb/usbhid.h> -struct variable { +static struct variable { char *name; int instance; int val; @@ -50,11 +50,11 @@ struct variable { struct variable *next; } *vars; -int verbose = 0; -int noname = 0; -int hexdump = 0; -int wflag = 0; -int zflag = 0; +static int verbose = 0; +static int noname = 0; +static int hexdump = 0; +static int wflag = 0; +static int zflag = 0; static void usage(void); static void dumpitem(const char *label, struct hid_item *h); |