Date: Sun, 6 Nov 2011 08:18:30 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227196 - head/usr.bin/usbhidctl Message-ID: <201111060818.pA68IUPu009634@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Sun Nov 6 08:18:30 2011 New Revision: 227196 URL: http://svn.freebsd.org/changeset/base/227196 Log: Add missing static keywords to usbhidctl(1) Modified: head/usr.bin/usbhidctl/usbhid.c Modified: head/usr.bin/usbhidctl/usbhid.c ============================================================================== --- head/usr.bin/usbhidctl/usbhid.c Sun Nov 6 08:18:23 2011 (r227195) +++ head/usr.bin/usbhidctl/usbhid.c Sun Nov 6 08:18:30 2011 (r227196) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111060818.pA68IUPu009634>