summaryrefslogtreecommitdiff
path: root/signame.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2010-07-05 18:32:03 +0000
committerPaul Smith <psmith@gnu.org>2010-07-05 18:32:03 +0000
commitc78b7265bd1ee374a5e515d79448d0e3452b5ede (patch)
tree7b46185bfca8c3d2ac28780e359c15c648655bce /signame.c
parentfc644b4c450fee27683cfb73e85488a643de6fa7 (diff)
downloadgunmake-c78b7265bd1ee374a5e515d79448d0e3452b5ede.tar.gz
Fixups for warnings on Windows (esp 64bit).
Diffstat (limited to 'signame.c')
-rw-r--r--signame.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/signame.c b/signame.c
index 1360b43..bdae74b 100644
--- a/signame.c
+++ b/signame.c
@@ -229,7 +229,7 @@ signame_init (void)
char *
-strsignal (int signal)
+strsignal (int sig)
{
static char buf[] = "Signal 12345678901234567890";
@@ -246,10 +246,10 @@ strsignal (int signal)
# endif
#endif
- if (signal > 0 || signal < NSIG)
- return (char *) sys_siglist[signal];
+ if (sig > 0 || sig < NSIG)
+ return (char *) sys_siglist[sig];
- sprintf (buf, "Signal %d", signal);
+ sprintf (buf, "Signal %d", sig);
return buf;
}