From owner-svn-src-all@FreeBSD.ORG Sun Nov 6 08:18:30 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B634C1065E20; Sun, 6 Nov 2011 08:18:30 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5AB478FC26; Sun, 6 Nov 2011 08:18:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pA68IUuJ009636; Sun, 6 Nov 2011 08:18:30 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pA68IUPu009634; Sun, 6 Nov 2011 08:18:30 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201111060818.pA68IUPu009634@svn.freebsd.org> From: Ed Schouten Date: Sun, 6 Nov 2011 08:18:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r227196 - head/usr.bin/usbhidctl X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2011 08:18:30 -0000 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 #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);