svn commit: r204572 - stable/8/sys/kern

Konstantin Belousov kib at FreeBSD.org
Tue Mar 2 10:32:34 UTC 2010


Author: kib
Date: Tue Mar  2 10:32:34 2010
New Revision: 204572
URL: http://svn.freebsd.org/changeset/base/204572

Log:
  MFC r204412:
  Fix several style issues.
  Define make_dev_credv() as static to match declaration.

Modified:
  stable/8/sys/kern/kern_conf.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/netinet/   (props changed)

Modified: stable/8/sys/kern/kern_conf.c
==============================================================================
--- stable/8/sys/kern/kern_conf.c	Tue Mar  2 10:12:17 2010	(r204571)
+++ stable/8/sys/kern/kern_conf.c	Tue Mar  2 10:32:34 2010	(r204572)
@@ -655,7 +655,7 @@ prep_cdevsw(struct cdevsw *devsw)
 		cdevsw_free_devlocked(dsw2);
 }
 
-struct cdev *
+static struct cdev *
 make_dev_credv(int flags, struct cdevsw *devsw, int unit,
     struct ucred *cr, uid_t uid,
     gid_t gid, int mode, const char *fmt, va_list ap)
@@ -953,7 +953,8 @@ clone_setup(struct clonedevs **cdp)
 }
 
 int
-clone_create(struct clonedevs **cdp, struct cdevsw *csw, int *up, struct cdev **dp, int extra)
+clone_create(struct clonedevs **cdp, struct cdevsw *csw, int *up,
+    struct cdev **dp, int extra)
 {
 	struct clonedevs *cd;
 	struct cdev *dev, *ndev, *dl, *de;
@@ -1124,6 +1125,7 @@ destroy_dev_sched_cbl(struct cdev *dev, 
 int
 destroy_dev_sched_cb(struct cdev *dev, void (*cb)(void *), void *arg)
 {
+
 	dev_lock();
 	return (destroy_dev_sched_cbl(dev, cb, arg));
 }
@@ -1131,6 +1133,7 @@ destroy_dev_sched_cb(struct cdev *dev, v
 int
 destroy_dev_sched(struct cdev *dev)
 {
+
 	return (destroy_dev_sched_cb(dev, NULL, NULL));
 }
 


More information about the svn-src-stable mailing list