WARNS + make compile
This commit is contained in:
parent
77fe034dc2
commit
8a435a0401
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1 2009/10/05 13:07:28 pooka Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2009/10/14 23:51:22 pooka Exp $
|
||||
#
|
||||
|
||||
PROG= wirelessconf
|
||||
@ -11,5 +11,6 @@ LDADD+= -lrumpuser -lpthread
|
||||
|
||||
DBG= -g
|
||||
NOMAN=
|
||||
WARNS= 4
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wirelessconf.c,v 1.1 2009/10/05 13:07:28 pooka Exp $ */
|
||||
/* $NetBSD: wirelessconf.c,v 1.2 2009/10/14 23:51:22 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
#define RUMFW "/libdata/firmware/rum/rum-rt2573"
|
||||
int
|
||||
main()
|
||||
main(void)
|
||||
{
|
||||
extern int rumpns_boothowto;
|
||||
struct ifreq ifr;
|
||||
@ -57,7 +57,7 @@ main()
|
||||
printf("\ndevice autoconfiguration finished\n");
|
||||
|
||||
printf("tira-if-su ...\n");
|
||||
if (rump_etfs_register(RUMFW, RUMFW, RUMP_ETFS_REG) != 0)
|
||||
if (rump_pub_etfs_register(RUMFW, RUMFW, RUMP_ETFS_REG) != 0)
|
||||
errx(1, "firmware etfs registration failed");
|
||||
|
||||
/* rum? shouldn't that be marsala? */
|
||||
|
Loading…
Reference in New Issue
Block a user