From: Uwe Hermann Date: Fri, 12 Oct 2018 22:53:22 +0000 (+0200) Subject: instance.c: Make oldpins_array_*() static. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=725a2ca11e4c5d91dc8a7c33e81c0db1f1804994;p=libsigrokdecode.git instance.c: Make oldpins_array_*() static. --- diff --git a/instance.c b/instance.c index 075bf09..b964534 100644 --- a/instance.c +++ b/instance.c @@ -32,8 +32,8 @@ extern SRD_PRIV GSList *sessions; static void srd_inst_join_decode_thread(struct srd_decoder_inst *di); static void srd_inst_reset_state(struct srd_decoder_inst *di); -SRD_PRIV void oldpins_array_seed(struct srd_decoder_inst *di); -SRD_PRIV void oldpins_array_free(struct srd_decoder_inst *di); +static void oldpins_array_seed(struct srd_decoder_inst *di); +static void oldpins_array_free(struct srd_decoder_inst *di); /** @endcond */ @@ -627,8 +627,7 @@ SRD_API int srd_inst_initial_pins_set_all(struct srd_decoder_inst *di, GArray *i return SRD_OK; } -/** @private */ -SRD_PRIV void oldpins_array_seed(struct srd_decoder_inst *di) +static void oldpins_array_seed(struct srd_decoder_inst *di) { size_t count; GArray *arr; @@ -646,8 +645,7 @@ SRD_PRIV void oldpins_array_seed(struct srd_decoder_inst *di) di->old_pins_array = arr; } -/** @private */ -SRD_PRIV void oldpins_array_free(struct srd_decoder_inst *di) +static void oldpins_array_free(struct srd_decoder_inst *di) { if (!di) return;