gmc-mh-1x-2x: Make two functions static.
This commit is contained in:
parent
3c996d8e23
commit
bc48ec3755
|
@ -873,7 +873,7 @@ static void process_msg_inf_13(struct sr_dev_inst *sdi)
|
||||||
* @param buf Pointer to array of 14 data bytes.
|
* @param buf Pointer to array of 14 data bytes.
|
||||||
* @param[in] raw Write only data bytes, no interpretation.
|
* @param[in] raw Write only data bytes, no interpretation.
|
||||||
*/
|
*/
|
||||||
void dump_msg14(guchar *buf, gboolean raw)
|
static void dump_msg14(guchar *buf, gboolean raw)
|
||||||
{
|
{
|
||||||
if (!buf)
|
if (!buf)
|
||||||
return;
|
return;
|
||||||
|
@ -1261,7 +1261,7 @@ SR_PRIV int gmc_mh_2x_receive_data(int fd, int revents, void *cb_data)
|
||||||
* @param[in] params Further parameters (9 bytes)
|
* @param[in] params Further parameters (9 bytes)
|
||||||
* @param[out] buf Buffer to create msg in (42 bytes).
|
* @param[out] buf Buffer to create msg in (42 bytes).
|
||||||
*/
|
*/
|
||||||
void create_cmd_14(guchar addr, guchar func, guchar *params, guchar *buf)
|
static void create_cmd_14(guchar addr, guchar func, guchar *params, guchar *buf)
|
||||||
{
|
{
|
||||||
uint8_t dta[GMC_REPLY_SIZE]; /* Unencoded message */
|
uint8_t dta[GMC_REPLY_SIZE]; /* Unencoded message */
|
||||||
int cnt;
|
int cnt;
|
||||||
|
|
|
@ -123,8 +123,6 @@ struct dev_context {
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
SR_PRIV int config_set(uint32_t key, GVariant *data, const struct sr_dev_inst *sdi,
|
SR_PRIV int config_set(uint32_t key, GVariant *data, const struct sr_dev_inst *sdi,
|
||||||
const struct sr_channel_group *cg);
|
const struct sr_channel_group *cg);
|
||||||
SR_PRIV void create_cmd_14(guchar addr, guchar func, guchar *params, guchar *buf);
|
|
||||||
SR_PRIV void dump_msg14(guchar *buf, gboolean raw);
|
|
||||||
SR_PRIV int gmc_decode_model_bd(uint8_t mcode);
|
SR_PRIV int gmc_decode_model_bd(uint8_t mcode);
|
||||||
SR_PRIV int gmc_decode_model_sm(uint8_t mcode);
|
SR_PRIV int gmc_decode_model_sm(uint8_t mcode);
|
||||||
SR_PRIV int gmc_mh_1x_2x_receive_data(int fd, int revents, void *cb_data);
|
SR_PRIV int gmc_mh_1x_2x_receive_data(int fd, int revents, void *cb_data);
|
||||||
|
|
Loading…
Reference in New Issue