PERFORCE change 141926 for review

Sam Leffler sam at FreeBSD.org
Tue May 20 18:44:36 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=141926

Change 141926 by sam at 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]))


More information about the p4-projects mailing list