diff --git a/usr.bin/usbhidctl/usbhid.c b/usr.bin/usbhidctl/usbhid.c index bf3e348d526..2a28e3e40de 100644 --- a/usr.bin/usbhidctl/usbhid.c +++ b/usr.bin/usbhidctl/usbhid.c @@ -42,7 +42,7 @@ #include #include -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);