Fix a prototype and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com>
This commit is contained in:
parent
442e0eaf20
commit
086ad217b2
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= adjkerntz
|
||||
WARNS?= 2
|
||||
MAN= adjkerntz.8
|
||||
CFLAGS+= -Wall
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user