about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Modules/cap.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index af08fc98c..5e75d4ea8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-24  Clint Adams  <clint@zsh.org>
+
+	* 21912: Src/Modules/cap.c: silence unused parameter
+	compile warnings.
+
 2005-10-23  Bart Schaefer  <schaefer@zsh.org>
 
 	* unposted: Src/prompt.c: fix --disable-multibyte compile error
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;