summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-02-24 04:44:53 +0000
committerobrien <obrien@FreeBSD.org>2003-02-24 04:44:53 +0000
commit34073c086fe3ea206c64197bff739bdb9e728e39 (patch)
tree5b335fda4bde150f70a4eee31288f83df19715d5 /sys
parent532d2bdd639ca71aff23970b4f6b377e9c5804f1 (diff)
downloadFreeBSD-src-34073c086fe3ea206c64197bff739bdb9e728e39.zip
FreeBSD-src-34073c086fe3ea206c64197bff739bdb9e728e39.tar.gz
Wrap the static endian functions to shutup GCC.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/advansys/advlib.c2
1 files changed, 2 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud