Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/altq remove variable names from prototype. sync with kame.
details: https://anonhg.NetBSD.org/src/rev/aeb96de7496e
branches: trunk
changeset: 503041:aeb96de7496e
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Jan 29 20:02:48 2001 +0000
description:
remove variable names from prototype. sync with kame.
diffstat:
sys/altq/altq_conf.h | 18 ++++++++----------
sys/altq/if_altq.h | 10 +++++-----
2 files changed, 13 insertions(+), 15 deletions(-)
diffs (64 lines):
diff -r 451fbb710a2c -r aeb96de7496e sys/altq/altq_conf.h
--- a/sys/altq/altq_conf.h Mon Jan 29 19:26:36 2001 +0000
+++ b/sys/altq/altq_conf.h Mon Jan 29 20:02:48 2001 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: altq_conf.h,v 1.2 2000/12/14 08:49:50 thorpej Exp $ */
-/* $KAME: altq_conf.h,v 1.5 2000/12/14 08:12:45 thorpej Exp $ */
+/* $NetBSD: altq_conf.h,v 1.3 2001/01/29 20:02:48 itojun Exp $ */
+/* $KAME: altq_conf.h,v 1.6 2001/01/29 19:59:09 itojun Exp $ */
/*
* Copyright (C) 1998-2000
@@ -52,10 +52,9 @@
#endif
#if defined(__NetBSD__) || defined(__OpenBSD__)
-typedef int d_open_t __P((dev_t dev, int oflags, int devtype, struct proc *p));
-typedef int d_close_t __P((dev_t dev, int fflag, int devtype, struct proc *p));
-typedef int d_ioctl_t __P((dev_t dev, u_long cmd, caddr_t data,
- int fflag, struct proc *p));
+typedef int d_open_t __P((dev_t, int, int, struct proc *));
+typedef int d_close_t __P((dev_t, int, int, struct proc *));
+typedef int d_ioctl_t __P((dev_t, u_long, caddr_t, int, struct proc *));
#define noopen (dev_type_open((*))) enodev
#define noclose (dev_type_close((*))) enodev
@@ -63,10 +62,9 @@
#endif /* __NetBSD__ || __OpenBSD__ */
#if defined(__OpenBSD__)
-int altqopen __P((dev_t dev, int oflags, int devtype, struct proc *p));
-int altqclose __P((dev_t dev, int fflag, int devtype, struct proc *p));
-int altqioctl __P((dev_t dev, u_long cmd, caddr_t data, int fflag,
- struct proc *p));
+int altqopen __P((dev_t, int, int, struct proc *));
+int altqclose __P((dev_t, int, int, struct proc *));
+int altqioctl __P((dev_t, u_long, caddr_t, int, struct proc *));
#endif
/*
diff -r 451fbb710a2c -r aeb96de7496e sys/altq/if_altq.h
--- a/sys/altq/if_altq.h Mon Jan 29 19:26:36 2001 +0000
+++ b/sys/altq/if_altq.h Mon Jan 29 20:02:48 2001 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: if_altq.h,v 1.5 2000/12/14 23:50:43 thorpej Exp $ */
-/* $KAME: if_altq.h,v 1.5 2000/12/14 08:12:47 thorpej Exp $ */
+/* $NetBSD: if_altq.h,v 1.6 2001/01/29 20:02:48 itojun Exp $ */
+/* $KAME: if_altq.h,v 1.6 2001/01/29 19:59:09 itojun Exp $ */
/*
* Copyright (C) 1997-2000
@@ -52,10 +52,10 @@
void *altq_disc; /* for discipline-specific use */
struct ifnet *altq_ifp; /* back pointer to interface */
- int (*altq_enqueue) __P((struct ifaltq *ifq, struct mbuf *m,
+ int (*altq_enqueue) __P((struct ifaltq *, struct mbuf *,
struct altq_pktattr *));
- struct mbuf *(*altq_dequeue) __P((struct ifaltq *ifq, int remove));
- int (*altq_request) __P((struct ifaltq *ifq, int req, void *arg));
+ struct mbuf *(*altq_dequeue) __P((struct ifaltq *, int));
+ int (*altq_request) __P((struct ifaltq *, int, void *));
/* classifier fields */
void *altq_clfier; /* classifier-specific use */
Home |
Main Index |
Thread Index |
Old Index