summaryrefslogtreecommitdiff
path: root/instance.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2018-10-13 00:53:22 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-10-13 00:53:22 +0200
commit725a2ca11e4c5d91dc8a7c33e81c0db1f1804994 (patch)
tree243eccd8f7c5c34e2da3b35aba3f60c8397cdbcb /instance.c
parent43dc03965ffa8967884cf320660b0934463f3739 (diff)
downloadlibsigrokdecode-725a2ca11e4c5d91dc8a7c33e81c0db1f1804994.tar.gz
libsigrokdecode-725a2ca11e4c5d91dc8a7c33e81c0db1f1804994.zip
instance.c: Make oldpins_array_*() static.
Diffstat (limited to 'instance.c')
-rw-r--r--instance.c10
1 files changed, 4 insertions, 6 deletions
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;