Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2010 16:52:50 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 177179 for review
Message-ID:  <201004211652.o3LGqoXn048836@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@177179?ac=10

Change 177179 by hselasky@hselasky_laptop001 on 2010/04/21 16:52:09

	USB CORE:
		- add missing "static" keyword.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_dev.c#42 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_dev.c#42 (text+ko) ====

@@ -199,7 +199,7 @@
  *  0: Success, refcount incremented on the given USB device.
  *  Else: Failure.
  *------------------------------------------------------------------------*/
-usb_error_t
+static usb_error_t
 usb_ref_device(struct usb_cdev_privdata *cpd, 
     struct usb_cdev_refdata *crd, int need_uref)
 {
@@ -344,7 +344,7 @@
  * This function will release the reference count by one unit for the
  * given USB device.
  *------------------------------------------------------------------------*/
-void
+static void
 usb_unref_device(struct usb_cdev_privdata *cpd,
     struct usb_cdev_refdata *crd)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004211652.o3LGqoXn048836>