Make number(6) build with WARNS=6.

This commit is contained in:
Ed Schouten 2009-10-13 06:25:53 +00:00
parent b6d632e4e8
commit 2e76e4c9b5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=198021
2 changed files with 4 additions and 4 deletions

View File

@ -4,4 +4,6 @@
PROG= number
MAN= number.6
WARNS?= 6
.include <bsd.prog.mk>

View File

@ -88,9 +88,7 @@ void usage(void);
int lflag;
int
main(argc, argv)
int argc;
char *argv[];
main(int argc, char *argv[])
{
int ch, first;
char line[256];
@ -275,7 +273,7 @@ void
pfract(len)
int len;
{
static char *pref[] = { "", "ten-", "hundred-" };
static char const * const pref[] = { "", "ten-", "hundred-" };
switch(len) {
case 1: