From owner-svn-src-stable-8@FreeBSD.ORG Mon May 17 23:44:53 2010 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 280CC1065670; Mon, 17 May 2010 23:44:53 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (unknown [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 16F3A8FC12; Mon, 17 May 2010 23:44:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o4HNiqQR074328; Mon, 17 May 2010 23:44:52 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o4HNiqu5074326; Mon, 17 May 2010 23:44:52 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <201005172344.o4HNiqu5074326@svn.freebsd.org> From: Andrew Thompson Date: Mon, 17 May 2010 23:44:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r208220 - stable/8/sys/dev/usb X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 23:44:53 -0000 Author: thompsa Date: Mon May 17 23:44:52 2010 New Revision: 208220 URL: http://svn.freebsd.org/changeset/base/208220 Log: MFC r208007 Staticise usb_ref_device and usb_unref_device. Modified: stable/8/sys/dev/usb/usb_dev.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) stable/8/sys/geom/sched/ (props changed) Modified: stable/8/sys/dev/usb/usb_dev.c ============================================================================== --- stable/8/sys/dev/usb/usb_dev.c Mon May 17 23:44:18 2010 (r208219) +++ stable/8/sys/dev/usb/usb_dev.c Mon May 17 23:44:52 2010 (r208220) @@ -182,7 +182,7 @@ usb_loc_fill(struct usb_fs_privdata* pd, * 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) { @@ -327,7 +327,7 @@ usb_usb_ref_device(struct usb_cdev_privd * 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) {