Fix a prototype and set WARNS=2.

Submitted by:	Mike Barcroft <mike@q9media.com>
This commit is contained in:
Dima Dorfman 2001-07-15 05:41:57 +00:00
parent 442e0eaf20
commit 086ad217b2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79747
2 changed files with 9 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PROG= adjkerntz
WARNS?= 2
MAN= adjkerntz.8
CFLAGS+= -Wall
.include <bsd.prog.mk>

View file

@ -65,9 +65,16 @@ static const char rcsid[] =
#define REPORT_PERIOD (30*60)
static void fake __P((int));
static void usage __P((void));
void fake() {}
static void
fake(unused)
int unused __unused;
{
/* Do nothing. */
}
int main(argc, argv)
int argc;