From 34073c086fe3ea206c64197bff739bdb9e728e39 Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 24 Feb 2003 04:44:53 +0000 Subject: Wrap the static endian functions to shutup GCC. --- sys/dev/advansys/advlib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys') diff --git a/sys/dev/advansys/advlib.c b/sys/dev/advansys/advlib.c index e6e0226..06c3276 100644 --- a/sys/dev/advansys/advlib.c +++ b/sys/dev/advansys/advlib.c @@ -257,8 +257,10 @@ adv_sgcount_to_qcount(int sgcount) return (n_sg_list_qs + 1); } +#if BYTE_ORDER == BIG_ENDIAN static void adv_adj_endian_qdone_info(struct adv_q_done_info *); static void adv_adj_scsiq_endian(struct adv_scsi_q *); +#endif static void adv_get_q_info(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *inbuf, int words); static u_int adv_get_num_free_queues(struct adv_softc *adv, u_int8_t n_qs); -- cgit v1.1