Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2008 18:44:36 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 141926 for review
Message-ID:  <200805201844.m4KIiauf060905@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=141926

Change 141926 by sam@sam_ebb on 2008/05/20 18:44:12

	misc cleanups for picky compiler options

Affected files ...

.. //depot/projects/vap/tools/tools/net80211/wlanstats/wlanstats.c#13 edit

Differences ...

==== //depot/projects/vap/tools/tools/net80211/wlanstats/wlanstats.c#13 (text+ko) ====

@@ -34,6 +34,7 @@
  */
 #include <sys/types.h>
 #include <sys/file.h>
+#include <sys/ioctl.h>
 #include <sys/sockio.h>
 #include <sys/socket.h>
 #include <net/if.h>
@@ -497,7 +498,7 @@
 	wf->ntotal = wf->ncur;
 }
 
-void
+static void
 setreason(char b[], size_t bs, int v)
 {
 #define	N(a)	(sizeof(a)/sizeof(a[0]))
@@ -533,7 +534,7 @@
 #undef N
 }
 
-void
+static void
 setstatus(char b[], size_t bs, int v)
 {
 #define	N(a)	(sizeof(a)/sizeof(a[0]))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805201844.m4KIiauf060905>