Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: silence unused parameter warnings in cap.c



Index: Src/Modules/cap.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/cap.c,v
retrieving revision 1.3
diff -u -r1.3 cap.c
--- Src/Modules/cap.c	2 Jun 2004 22:15:00 -0000	1.3
+++ Src/Modules/cap.c	24 Oct 2005 01:48:26 -0000
@@ -33,7 +33,7 @@
 #ifdef HAVE_CAP_GET_PROC
 
 static int
-bin_cap(char *nam, char **argv, Options ops, int func)
+bin_cap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func))
 {
     int ret = 0;
     cap_t caps;
@@ -64,7 +64,7 @@
 }
 
 static int
-bin_getcap(char *nam, char **argv, Options ops, int func)
+bin_getcap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func))
 {
     int ret = 0;
 
@@ -85,7 +85,7 @@
 }
 
 static int
-bin_setcap(char *nam, char **argv, Options ops, int func)
+bin_setcap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func))
 {
     cap_t caps;
     int ret = 0;



Messages sorted by: Reverse Date, Date, Thread, Author