Make this WARNS=3 clean.

PR:            bin/38931
Submitted by:  Giorgos Keramidas <keramida@freebsd.org>
This commit is contained in:
Lukas Ertl 2004-07-23 11:36:35 +00:00
parent f0000ca014
commit 3e7ee83cbd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132578
2 changed files with 4 additions and 5 deletions

View File

@ -4,6 +4,6 @@
PROG= strfile
MAN= strfile.8
MLINKS= strfile.8 unstr.8
WARNS?= 2
WARNS?= 3
.include <bsd.prog.mk>

View File

@ -146,13 +146,12 @@ static void usage(void);
* CHUNKSIZE blocks; if the latter, we just write each pointer,
* and then seek back to the beginning to write in the table.
*/
int main(ac, av)
int ac;
char **av;
int main(int ac, char *av[])
{
char *sp, dc;
FILE *inf, *outf;
long last_off, length, pos, *p;
long last_off, pos, *p;
unsigned long length;
int first, cnt;
char *nsp;
STR *fp;