summaryrefslogtreecommitdiff
path: root/usr.sbin/getpmac/getpmac.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2005-01-27 14:44:39 +0000
committerXin LI <delphij@FreeBSD.org>2005-01-27 14:44:39 +0000
commit3e7cb94c9c8e6aaea734c07ebc4f967caf4232c4 (patch)
tree800108ee5884bcedcb1f18818809981552758c56 /usr.sbin/getpmac/getpmac.c
parent8755b918a1c4389c74f96cfb3f87abd9a4998fdf (diff)
downloadsrc-test2-3e7cb94c9c8e6aaea734c07ebc4f967caf4232c4.tar.gz
src-test2-3e7cb94c9c8e6aaea734c07ebc4f967caf4232c4.zip
WARNS?=6 cleanup for [gs]et[fp]mac:
- Constify structure members that should not be changed during process. - Apply static where needed - signed/unsigned madness - Bump WARNS?= levels from 2 to 6 (this is a diff reduction for a subsequent commit against these Makefile's)
Notes
Notes: svn path=/head/; revision=140907
Diffstat (limited to 'usr.sbin/getpmac/getpmac.c')
-rw-r--r--usr.sbin/getpmac/getpmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/getpmac/getpmac.c b/usr.sbin/getpmac/getpmac.c
index ee289e8028d4..6e815584cdc7 100644
--- a/usr.sbin/getpmac/getpmac.c
+++ b/usr.sbin/getpmac/getpmac.c
@@ -46,7 +46,7 @@
#define MAXELEMENTS 32
-void
+static void
usage(void)
{