about summary refs log tree commit diff
path: root/Src/Builtins
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/Builtins
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/Builtins')
-rw-r--r--Src/Builtins/rlimits.c10
-rw-r--r--Src/Builtins/sched.c6
2 files changed, 8 insertions, 8 deletions
diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c
index db84d8425..ff66d9594 100644
--- a/Src/Builtins/rlimits.c
+++ b/Src/Builtins/rlimits.c
@@ -289,7 +289,7 @@ printulimit(int lim, int hard, int head)
 
 /**/
 static int
-bin_limit(char *nam, char **argv, Options ops, int func)
+bin_limit(UNUSED(char *nam), char **argv, Options ops, UNUSED(int func))
 {
     char *s;
     int hard, limnum, lim;
@@ -397,7 +397,7 @@ bin_limit(char *nam, char **argv, Options ops, int func)
 
 /**/
 static int
-bin_unlimit(char *nam, char **argv, Options ops, int func)
+bin_unlimit(char *nam, char **argv, Options ops, UNUSED(int func))
 {
     int hard, limnum, lim;
     int ret = 0;
@@ -460,7 +460,7 @@ bin_unlimit(char *nam, char **argv, Options ops, int func)
 
 /**/
 static int
-bin_ulimit(char *name, char **argv, Options ops, int func)
+bin_ulimit(char *name, char **argv, UNUSED(Options ops), UNUSED(int func))
 {
     int res, resmask = 0, hard = 0, soft = 0, nres = 0, all = 0;
     char *options;
@@ -668,7 +668,7 @@ static struct builtin bintab[] = {
 
 /**/
 int
-setup_(Module m)
+setup_(UNUSED(Module m))
 {
     return 0;
 }
@@ -690,7 +690,7 @@ cleanup_(Module m)
 
 /**/
 int
-finish_(Module m)
+finish_(UNUSED(Module m))
 {
     return 0;
 }
diff --git a/Src/Builtins/sched.c b/Src/Builtins/sched.c
index 8bc9b2c8a..0c96b76b2 100644
--- a/Src/Builtins/sched.c
+++ b/Src/Builtins/sched.c
@@ -46,7 +46,7 @@ static struct schedcmd *schedcmds;
 
 /**/
 static int
-bin_sched(char *nam, char **argv, Options ops, int func)
+bin_sched(UNUSED(char *nam), char **argv, UNUSED(Options ops), UNUSED(int func))
 {
     char *s = *argv++;
     time_t t;
@@ -183,7 +183,7 @@ static struct builtin bintab[] = {
 
 /**/
 int
-setup_(Module m)
+setup_(UNUSED(Module m))
 {
     return 0;
 }
@@ -216,7 +216,7 @@ cleanup_(Module m)
 
 /**/
 int
-finish_(Module m)
+finish_(UNUSED(Module m))
 {
     return 0;
 }