From 725a2ca11e4c5d91dc8a7c33e81c0db1f1804994 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 13 Oct 2018 00:53:22 +0200 Subject: instance.c: Make oldpins_array_*() static. --- instance.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'instance.c') 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; -- cgit v1.2.3-70-g09d2