diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2007-05-05 14:41:15 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2007-05-05 14:41:15 +0000 |
commit | 65314bd4b49f9cce5a6d3f3c9cf77bc7272e60fa (patch) | |
tree | a7f47667382b30daa313e24fba50f8fdac9e16f4 /sys | |
parent | 0f4d363fb353d83ab774c24ec91fbe4b5837bebc (diff) |
malo_hexdump() is only used by code under MALO_DEBUG, so ifdef it
ok mglocker@ claudio@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/malo.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c index 35d45634ab6..730fa8ab737 100644 --- a/sys/dev/ic/malo.c +++ b/sys/dev/ic/malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malo.c,v 1.67 2007/05/03 15:06:09 mglocker Exp $ */ +/* $OpenBSD: malo.c,v 1.68 2007/05/05 14:41:14 jsg Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -287,7 +287,9 @@ int malo_load_firmware(struct malo_softc *sc); int malo_set_wepkey(struct malo_softc *sc); int malo_set_slot(struct malo_softc *sc); void malo_update_slot(struct ieee80211com *ic); +#ifdef MALO_DEBUG void malo_hexdump(void *buf, int len); +#endif static char * malo_cmd_string(uint16_t cmd); static char * @@ -1994,6 +1996,7 @@ malo_update_slot(struct ieee80211com *ic) } } +#ifdef MALO_DEBUG void malo_hexdump(void *buf, int len) { @@ -2008,6 +2011,7 @@ malo_hexdump(void *buf, int len) } printf("\n"); } +#endif static char * malo_cmd_string(uint16_t cmd) |