[Midnightbsd-cvs] src [10893] make static
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Jun 13 20:19:30 EDT 2018
Revision: 10893
http://svnweb.midnightbsd.org/src/?rev=10893
Author: laffer1
Date: 2018-06-13 20:19:29 -0400 (Wed, 13 Jun 2018)
Log Message:
-----------
make static
Modified Paths:
--------------
trunk/usr.bin/usbhidctl/Makefile
trunk/usr.bin/usbhidctl/usbhid.c
trunk/usr.bin/usbhidctl/usbhidctl.1
Property Changed:
----------------
trunk/usr.bin/usbhidctl/usbhidctl.1
Modified: trunk/usr.bin/usbhidctl/Makefile
===================================================================
--- trunk/usr.bin/usbhidctl/Makefile 2018-06-14 00:18:32 UTC (rev 10892)
+++ trunk/usr.bin/usbhidctl/Makefile 2018-06-14 00:19:29 UTC (rev 10893)
@@ -1,5 +1,6 @@
+# $MidnightBSD$
# $NetBSD: Makefile,v 1.4 1999/05/11 21:02:25 augustss Exp $
-# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/usbhidctl/Makefile 94744 2002-04-15 09:33:34Z ru $
PROG= usbhidctl
SRCS= usbhid.c
Modified: trunk/usr.bin/usbhidctl/usbhid.c
===================================================================
--- trunk/usr.bin/usbhidctl/usbhid.c 2018-06-14 00:18:32 UTC (rev 10892)
+++ trunk/usr.bin/usbhidctl/usbhid.c 2018-06-14 00:19:29 UTC (rev 10893)
@@ -1,5 +1,6 @@
+/* $MidnightBSD$ */
/* $NetBSD: usbhid.c,v 1.14 2000/07/03 02:51:37 matt Exp $ */
-/* $MidnightBSD$ */
+/* $FreeBSD: stable/10/usr.bin/usbhidctl/usbhid.c 235519 2012-05-16 20:30:20Z mav $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -42,7 +43,7 @@
#include <usbhid.h>
#include <dev/usb/usbhid.h>
-struct variable {
+static struct variable {
char *name;
int instance;
int val;
@@ -50,11 +51,11 @@
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);
Modified: trunk/usr.bin/usbhidctl/usbhidctl.1
===================================================================
--- trunk/usr.bin/usbhidctl/usbhidctl.1 2018-06-14 00:18:32 UTC (rev 10892)
+++ trunk/usr.bin/usbhidctl/usbhidctl.1 2018-06-14 00:19:29 UTC (rev 10893)
@@ -1,5 +1,6 @@
+.\" $MidnightBSD$
.\" $NetBSD: usbhidctl.1,v 1.8 1999/05/11 21:03:58 augustss Exp $
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/usbhidctl/usbhidctl.1 250582 2013-05-12 22:22:12Z joel $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -136,8 +137,10 @@
.Sq Cm \&# .
character and a decimal item instance number, starting at zero.
.Sh FILES
-.Pa /usr/share/misc/usb_hid_usages
+.Bl -tag -width 30n
+.It Pa /usr/share/misc/usb_hid_usages
The default HID usage table.
+.El
.Sh SEE ALSO
.Xr usbhid 3 ,
.Xr uhid 4 ,
Property changes on: trunk/usr.bin/usbhidctl/usbhidctl.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list