Add missing static keywords to usbhidctl(1)
This commit is contained in:
parent
8eae2b0d9c
commit
25b4fbd02b
@ -42,7 +42,7 @@
|
|||||||
#include <usbhid.h>
|
#include <usbhid.h>
|
||||||
#include <dev/usb/usbhid.h>
|
#include <dev/usb/usbhid.h>
|
||||||
|
|
||||||
struct variable {
|
static struct variable {
|
||||||
char *name;
|
char *name;
|
||||||
int instance;
|
int instance;
|
||||||
int val;
|
int val;
|
||||||
@ -50,11 +50,11 @@ struct variable {
|
|||||||
struct variable *next;
|
struct variable *next;
|
||||||
} *vars;
|
} *vars;
|
||||||
|
|
||||||
int verbose = 0;
|
static int verbose = 0;
|
||||||
int noname = 0;
|
static int noname = 0;
|
||||||
int hexdump = 0;
|
static int hexdump = 0;
|
||||||
int wflag = 0;
|
static int wflag = 0;
|
||||||
int zflag = 0;
|
static int zflag = 0;
|
||||||
|
|
||||||
static void usage(void);
|
static void usage(void);
|
||||||
static void dumpitem(const char *label, struct hid_item *h);
|
static void dumpitem(const char *label, struct hid_item *h);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user