avoid warnings regarding unused params
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 19 Mar 2005 02:07:40 +0000 (02:07 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 19 Mar 2005 02:07:40 +0000 (02:07 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1939 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/vserver-start/interface-add.c
util-vserver/vserver-start/interface-print.c
util-vserver/vserver-start/interface-remove.c
util-vserver/vserver-start/main.c

index 6bf527b..c0fa1cf 100644 (file)
@@ -105,13 +105,13 @@ invokeIpAddr(struct Interface const *iface)
 }
 
 static bool
-addVLAN(struct Interface const *iface)
+addVLAN(struct Interface const UNUSED *iface)
 {
   abort();     // TODO: implement me
 }
 
 static bool
-addIndirect(struct Interface const *iface)
+addIndirect(struct Interface const UNUSED *iface)
 {
   abort();     // TODO: implement me
 }
index 9255eac..8107344 100644 (file)
@@ -23,7 +23,7 @@
 #include "interface.h"
 
 void
-Iface_print(struct Interface const *iface, int fd)
+Iface_print(struct Interface const UNUSED *iface, int UNUSED fd)
 {
   
 }
index 18d33c2..c4e5841 100644 (file)
@@ -23,7 +23,7 @@
 #include "interface.h"
 
 bool
-Iface_remove(struct Interface const *iface)
+Iface_remove(struct Interface const UNUSED *iface)
 {
   return true;
 }
index 6957f1f..3ff03e4 100644 (file)
@@ -138,7 +138,7 @@ setCFlag(xid_t xid, uint_least64_t value)
   Evc_set_cflags(xid, &flags);
 }
 
-int main(int argc, char *argv[])
+int main(int UNUSED argc, char UNUSED *argv[])
 {
   Cfg_init(&cfg);