Silence WARNS=2 and BDECFLAGS on the i386 and alpha

MFC After:	1 week
This commit is contained in:
kris 2001-05-20 04:52:37 +00:00
parent 3b7c4b5c80
commit bc311d5aef
2 changed files with 4 additions and 1 deletions

View File

@ -3,4 +3,6 @@
PROG= kill PROG= kill
WARNS= 2
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -53,6 +53,7 @@ static const char rcsid[] =
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
int main __P((int, char *[]));
void nosig __P((char *)); void nosig __P((char *));
void printsignals __P((FILE *)); void printsignals __P((FILE *));
int signame_to_signum __P((char *)); int signame_to_signum __P((char *));
@ -144,7 +145,7 @@ signame_to_signum(sig)
{ {
int n; int n;
if (!strncasecmp(sig, "sig", 3)) if (!strncasecmp(sig, "sig", (size_t)3))
sig += 3; sig += 3;
for (n = 1; n < NSIG; n++) { for (n = 1; n < NSIG; n++) {
if (!strcasecmp(sys_signame[n], sig)) if (!strcasecmp(sys_signame[n], sig))