diff options
author | delphij <delphij@FreeBSD.org> | 2005-01-27 14:44:39 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-01-27 14:44:39 +0000 |
commit | fa89c5605faa7ae6d16c35fc946e46a24e9d1efe (patch) | |
tree | 800108ee5884bcedcb1f18818809981552758c56 /usr.sbin/setpmac/setpmac.c | |
parent | 1f1fe48dc9a77d0ec832c8d740c61402285c96a9 (diff) | |
download | FreeBSD-src-fa89c5605faa7ae6d16c35fc946e46a24e9d1efe.zip FreeBSD-src-fa89c5605faa7ae6d16c35fc946e46a24e9d1efe.tar.gz |
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)
Diffstat (limited to 'usr.sbin/setpmac/setpmac.c')
-rw-r--r-- | usr.sbin/setpmac/setpmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/setpmac/setpmac.c b/usr.sbin/setpmac/setpmac.c index 8314a77..bc096bb 100644 --- a/usr.sbin/setpmac/setpmac.c +++ b/usr.sbin/setpmac/setpmac.c @@ -46,7 +46,7 @@ #define MAXELEMENTS 32 -void +static void usage(void) { @@ -57,7 +57,7 @@ usage(void) int main(int argc, char *argv[]) { - char *shell; + const char *shell; mac_t label; int error; |