about summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-10-24 02:18:15 +0000
committerClint Adams <clint@users.sourceforge.net>2005-10-24 02:18:15 +0000
commit6d4c63311954fc930881e388c8dedb39fde6e139 (patch)
treef73616eaae985872c3aa44a9346534d1ef4d391e /Src/Modules
parentc3e87fd2b03f591ffad0452ac43d01135ccacc9e (diff)
downloadzsh-6d4c63311954fc930881e388c8dedb39fde6e139.tar.gz
zsh-6d4c63311954fc930881e388c8dedb39fde6e139.tar.xz
zsh-6d4c63311954fc930881e388c8dedb39fde6e139.zip
21912: silence unused parameter compile warnings in cap.c
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/cap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Modules/cap.c b/Src/Modules/cap.c
index 4ef8d9cb3..a84e4d246 100644
--- a/Src/Modules/cap.c
+++ b/Src/Modules/cap.c
@@ -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 @@ bin_cap(char *nam, char **argv, Options ops, int func)
 }
 
 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 @@ bin_getcap(char *nam, char **argv, Options ops, int func)
 }
 
 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;