WARNS + make compile

This commit is contained in:
pooka 2009-10-14 23:51:22 +00:00
parent 77fe034dc2
commit 8a435a0401
2 changed files with 5 additions and 4 deletions

View File

@ -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>

View File

@ -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? */