From 879c9165c769cbb86c0dd82e5d231b523bdaee23 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 20 Jan 2015 14:22:30 -0800 Subject: [PATCH] kernel/ath - export athdev_printf() * Fix the export of athdev_printf() so it is unconditional. --- sys/dev/netif/ath/ath/if_ath_debug.h | 2 -- sys/dev/netif/ath/ath/if_athvar.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/netif/ath/ath/if_ath_debug.h b/sys/dev/netif/ath/ath/if_ath_debug.h index 706eaec844..b99425db4d 100644 --- a/sys/dev/netif/ath/ath/if_ath_debug.h +++ b/sys/dev/netif/ath/ath/if_ath_debug.h @@ -125,8 +125,6 @@ extern uint64_t ath_debug; ath_keyprint(sc, __func__, ix, hk, mac); \ } while (0) -extern int athdev_printf(device_t dev, const char *, ...); - extern void ath_printrxbuf(struct ath_softc *, const struct ath_buf *bf, u_int ix, int); extern void ath_printtxbuf(struct ath_softc *, const struct ath_buf *bf, diff --git a/sys/dev/netif/ath/ath/if_athvar.h b/sys/dev/netif/ath/ath/if_athvar.h index a95504ecc7..aa3c4b39d6 100644 --- a/sys/dev/netif/ath/ath/if_athvar.h +++ b/sys/dev/netif/ath/ath/if_athvar.h @@ -1040,6 +1040,7 @@ void ath_resume(struct ath_softc *); void ath_suspend(struct ath_softc *); void ath_shutdown(struct ath_softc *); void ath_intr(void *); +int athdev_printf(device_t dev, const char *, ...); #if defined(__DragonFly__) -- 2.41.0