Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/examples/rump/wirelessconf WARNS + make compile
details: https://anonhg.NetBSD.org/src/rev/442180158254
branches: trunk
changeset: 748152:442180158254
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Oct 14 23:51:22 2009 +0000
description:
WARNS + make compile
diffstat:
share/examples/rump/wirelessconf/Makefile | 3 ++-
share/examples/rump/wirelessconf/wirelessconf.c | 6 +++---
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r da34e8c04682 -r 442180158254 share/examples/rump/wirelessconf/Makefile
--- a/share/examples/rump/wirelessconf/Makefile Wed Oct 14 23:49:50 2009 +0000
+++ b/share/examples/rump/wirelessconf/Makefile Wed Oct 14 23:51:22 2009 +0000
@@ -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 @@
DBG= -g
NOMAN=
+WARNS= 4
.include <bsd.prog.mk>
diff -r da34e8c04682 -r 442180158254 share/examples/rump/wirelessconf/wirelessconf.c
--- a/share/examples/rump/wirelessconf/wirelessconf.c Wed Oct 14 23:49:50 2009 +0000
+++ b/share/examples/rump/wirelessconf/wirelessconf.c Wed Oct 14 23:51:22 2009 +0000
@@ -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 @@
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? */
Home |
Main Index |
Thread Index |
Old Index