aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1999-01-12 16:40:57 +0000
committerEivind Eklund <eivind@FreeBSD.org>1999-01-12 16:40:57 +0000
commite23c7d861288d0d527c73a986c78d5f8d76007e9 (patch)
tree2cae068229df9034beb9b68d51d7aa43426aff8a /sys/netinet
parentfcfc31400326791eafe19ad9112110d0b7cbaddc (diff)
downloadsrc-e23c7d861288d0d527c73a986c78d5f8d76007e9.tar.gz
src-e23c7d861288d0d527c73a986c78d5f8d76007e9.zip
Avoid unnecessary GCCism - I hadn't noticed the __unused macro.
Notes
Notes: svn path=/head/; revision=42591
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_dummynet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c
index 4b5871450e16..51a6cd757346 100644
--- a/sys/netinet/ip_dummynet.c
+++ b/sys/netinet/ip_dummynet.c
@@ -10,7 +10,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
- * $Id: ip_dummynet.c,v 1.4 1999/01/11 11:08:07 luigi Exp $
+ * $Id: ip_dummynet.c,v 1.5 1999/01/12 12:27:54 eivind Exp $
*/
/*
@@ -239,8 +239,9 @@ dn_move(struct dn_pipe *pipe, int immediate)
* this is the periodic task that moves packets between the R-
* and the P- queue
*/
+/*ARGSUSED*/
void
-dummynet(void * __attribute__((unused)) unused )
+dummynet(void * __unused unused)
{
struct dn_pipe *p ;
int s ;