summaryrefslogtreecommitdiff
path: root/fn.c
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-07-10 13:25:11 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:07 +0100
commita16991aae18b1d286ad6bb24ad0d96d49fcf5717 (patch)
tree98b9c876ab8fcbb6e167538fb6eefb059e79340d /fn.c
parentdc6c6af3b304a8ee8d6f58ab2b5b8311e0512c37 (diff)
remove some genuinely unused arguments
change names of some others to ignore
Diffstat (limited to 'fn.c')
-rw-r--r--fn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fn.c b/fn.c
index e6fcaab..f01a574 100644
--- a/fn.c
+++ b/fn.c
@@ -133,7 +133,7 @@ static void fn_handler(int s) {
/* A dud signal handler for SIGQUIT and SIGTERM */
-static void dud_handler(int s) {
+static void dud_handler(int ignore) {
}
/*
@@ -189,7 +189,7 @@ extern Node *fnlookup(char *name) {
return look->def;
if (look->extdef == NULL) /* function was set to null, e.g., fn foo {} */
return &null;
- ret = parse_fn(name, look->extdef);
+ ret = parse_fn(look->extdef);
if (ret == NULL) {
efree(look->extdef);
look->extdef = NULL;