aboutsummaryrefslogtreecommitdiff
path: root/bin/kill/kill.c
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-05-20 04:52:37 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-05-20 04:52:37 +0000
commit961a739a43875eccb9dc5da56e4a0642e923f02b (patch)
tree3ecfc89c2491e7a8cc91e65653ba2ddb63a293db /bin/kill/kill.c
parent28bf320298a3963e0e49b148f639bda2ecb5735b (diff)
downloadsrc-961a739a43875eccb9dc5da56e4a0642e923f02b.tar.gz
src-961a739a43875eccb9dc5da56e4a0642e923f02b.zip
Silence WARNS=2 and BDECFLAGS on the i386 and alpha
MFC After: 1 week
Notes
Notes: svn path=/head/; revision=76876
Diffstat (limited to 'bin/kill/kill.c')
-rw-r--r--bin/kill/kill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/kill/kill.c b/bin/kill/kill.c
index 9de184f0cfa1..45be37d43939 100644
--- a/bin/kill/kill.c
+++ b/bin/kill/kill.c
@@ -53,6 +53,7 @@ static const char rcsid[] =
#include <stdlib.h>
#include <string.h>
+int main __P((int, char *[]));
void nosig __P((char *));
void printsignals __P((FILE *));
int signame_to_signum __P((char *));
@@ -144,7 +145,7 @@ signame_to_signum(sig)
{
int n;
- if (!strncasecmp(sig, "sig", 3))
+ if (!strncasecmp(sig, "sig", (size_t)3))
sig += 3;
for (n = 1; n < NSIG; n++) {
if (!strcasecmp(sys_signame[n], sig))