about summary refs log tree commit diff
path: root/Src/Builtins/rlimits.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Builtins/rlimits.c')
-rw-r--r--Src/Builtins/rlimits.c10
1 files changed, 5 insertions, 5 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;
 }