PERFORCE change 177179 for review

Hans Petter Selasky hselasky at FreeBSD.org
Wed Apr 21 16:52:51 UTC 2010


http://p4web.freebsd.org/@@177179?ac=10

Change 177179 by hselasky at 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)
 {


More information about the p4-projects mailing list