subchan_demux: Use ubit_t where appropriate
the subchan_demux code predates ubit_t; let's use it to clarify
certain pointers refer to arrays of unpacked bits.
Change-Id: I944f05473954920d57e12d5514cf928fc78f2ea4
diff --git a/include/osmocom/abis/subchan_demux.h b/include/osmocom/abis/subchan_demux.h
index 3978d73..dac072c 100644
--- a/include/osmocom/abis/subchan_demux.h
+++ b/include/osmocom/abis/subchan_demux.h
@@ -85,7 +85,7 @@
unsigned int bit_len; /*!< \brief total number of bits in 'bits' */
unsigned int next_bit; /*!< \brief next bit to be transmitted */
- uint8_t bits[0]; /*!< \brief one bit per byte */
+ ubit_t bits[0]; /*!< \brief one bit per byte */
};
/*! \brief one sub-channel inside a multiplexer */
@@ -102,7 +102,7 @@
int subchan_mux_init(struct subch_mux *mx);
int subchan_mux_out(struct subch_mux *mx, uint8_t *data, int len);
-int subchan_mux_enqueue(struct subch_mux *mx, int s_nr, const uint8_t *data,
+int subchan_mux_enqueue(struct subch_mux *mx, int s_nr, const ubit_t *data,
int len);
/* }@ */