summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 16:40:57 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 16:40:57 +0000
commit5eadf1333f347f3dfdb01a9b891c11b41378848f (patch)
treea7bef130b31bd5f4631b186b46c8e7d68601b9b5 /sys/netinet
parent7978f786762e6c0537e36ab90e4698674139f4de (diff)
downloadFreeBSD-src-5eadf1333f347f3dfdb01a9b891c11b41378848f.zip
FreeBSD-src-5eadf1333f347f3dfdb01a9b891c11b41378848f.tar.gz
Avoid unnecessary GCCism - I hadn't noticed the __unused macro.
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 4b58714..51a6cd7 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 ;
OpenPOWER on IntegriCloud