about summary refs log tree commit diff
path: root/Src/Modules/system.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2004-06-02 22:14:25 +0000
committerWayne Davison <wayned@users.sourceforge.net>2004-06-02 22:14:25 +0000
commitfb0937a69eb38e744577aa94a6338135f6c1c9b4 (patch)
tree70c7404736602da0e91710dc3a991e3d2dc5377a /Src/Modules/system.c
parent30a139fe894f76ad256281b60a36c693bc561245 (diff)
downloadzsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.gz
zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.xz
zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.zip
Marked unused parameters with the new UNUSED() macro.
Diffstat (limited to 'Src/Modules/system.c')
-rw-r--r--Src/Modules/system.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Src/Modules/system.c b/Src/Modules/system.c
index 91811ae79..f292c1924 100644
--- a/Src/Modules/system.c
+++ b/Src/Modules/system.c
@@ -68,7 +68,7 @@ getposint(char *instr, char *nam)
 
 /**/
 static int
-bin_sysread(char *nam, char **args, Options ops, int func)
+bin_sysread(char *nam, char **args, Options ops, UNUSED(int func))
 {
     int infd = 0, outfd = -1, bufsize = SYSREAD_BUFSIZE, count;
     char *outvar = NULL, *countvar = NULL, *inbuf;
@@ -236,7 +236,7 @@ bin_sysread(char *nam, char **args, Options ops, int func)
 
 /**/
 static int
-bin_syswrite(char *nam, char **args, Options ops, int func)
+bin_syswrite(char *nam, char **args, Options ops, UNUSED(int func))
 {
     int outfd = 1, len, count, totcount;
     char *countvar = NULL;
@@ -290,7 +290,7 @@ bin_syswrite(char *nam, char **args, Options ops, int func)
 
 /**/
 static int
-bin_syserror(char *nam, char **args, Options ops, int func)
+bin_syserror(char *nam, char **args, Options ops, UNUSED(int func))
 {
     int num = 0;
     char *errvar = NULL, *msg, *pfx = "", *str;
@@ -345,7 +345,7 @@ bin_syserror(char *nam, char **args, Options ops, int func)
 
 /**/
 static char **
-errnosgetfn(Param pm)
+errnosgetfn(UNUSED(Param pm))
 {
     /* arrdup etc. should really take const pointers as arguments */
     return arrdup((char **)sys_errnames);
@@ -363,7 +363,7 @@ static struct builtin bintab[] = {
 
 /**/
 int
-setup_(Module m)
+setup_(UNUSED(Module m))
 {
     return 0;
 }
@@ -414,7 +414,7 @@ cleanup_(Module m)
 
 /**/
 int
-finish_(Module m)
+finish_(UNUSED(Module m))
 {
     return 0;
 }