zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: silence unused parameter warnings in cap.c
@ 2005-10-24  1:49 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2005-10-24  1:49 UTC (permalink / raw)
  To: zsh-workers

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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-24  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-24  1:49 PATCH: silence unused parameter warnings in cap.c Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).