summaryrefslogtreecommitdiff
path: root/sys/altq/altq_conf.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-11-26 01:03:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-11-26 01:03:35 +0000
commit6e34af6845f853564bb8caf7777e4661efd210f2 (patch)
treec5504d10e8fe59138eecacf64165c556eda9ca9c /sys/altq/altq_conf.c
parent05fac4d8fd89533ada575fcedaac2375eb557fab (diff)
KNF
Diffstat (limited to 'sys/altq/altq_conf.c')
-rw-r--r--sys/altq/altq_conf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/altq/altq_conf.c b/sys/altq/altq_conf.c
index de8c057cce5..1a5a5b51205 100644
--- a/sys/altq/altq_conf.c
+++ b/sys/altq/altq_conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_conf.c,v 1.3 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: altq_conf.c,v 1.4 2002/11/26 01:03:34 henning Exp $ */
/* $KAME: altq_conf.c,v 1.11 2001/06/21 11:00:36 kjc Exp $ */
/*
@@ -158,14 +158,14 @@ void altqattach(int);
#define CDEV_MAJOR 96 /* FreeBSD official number */
#if (__FreeBSD_version < 400000)
-static struct cdevsw altq_cdevsw =
+static struct cdevsw altq_cdevsw =
{ altqopen, altqclose, noread, nowrite,
altqioctl, nostop, nullreset, nodevtotty,
seltrue, nommap, NULL, "altq", NULL, -1 };
#else
-static struct cdevsw altq_cdevsw =
+static struct cdevsw altq_cdevsw =
{ altqopen, altqclose, noread, nowrite,
- altqioctl, seltrue, nommap, nostrategy,
+ altqioctl, seltrue, nommap, nostrategy,
"altq", CDEV_MAJOR, nodump, nopsize, 0, -1 };
#endif
#endif /* FreeBSD */
@@ -353,7 +353,7 @@ void altq_module_declref(type)
altq_modules[type]->ref--;
}
-static int
+static int
altq_module_register(mdata)
struct altq_module_data *mdata;
{
@@ -368,7 +368,7 @@ altq_module_register(mdata)
return (0);
}
-static int
+static int
altq_module_deregister(mdata)
struct altq_module_data *mdata;
{
@@ -410,5 +410,5 @@ altq_module_handler(mod, cmd, arg)
return(error);
}
-
+
#endif /* ALTQ_KLD */