summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-05-04 21:00:24 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-05-04 21:00:24 +0200
commit23a29d24b01a68acb11be55abfcbe8d3fb0cdeb2 (patch)
tree958b23af9c57153d04fd67adad7f496c3f9657ed
parentaa6506b86e43d332f839ac1d6e0361ef36e9de75 (diff)
downloadlibsigrokdecode-23a29d24b01a68acb11be55abfcbe8d3fb0cdeb2.tar.gz
libsigrokdecode-23a29d24b01a68acb11be55abfcbe8d3fb0cdeb2.zip
Mark some variables more consistently as SRD_PRIV.
-rw-r--r--decoder.c6
-rw-r--r--instance.c2
-rw-r--r--session.c2
-rw-r--r--srd.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/decoder.c b/decoder.c
index a44a86a..ff6e7ac 100644
--- a/decoder.c
+++ b/decoder.c
@@ -43,11 +43,11 @@
static GSList *pd_list = NULL;
/* srd.c */
-extern GSList *searchpaths;
+extern SRD_PRIV GSList *searchpaths;
/* session.c */
-extern GSList *sessions;
-extern int max_session_id;
+extern SRD_PRIV GSList *sessions;
+extern SRD_PRIV int max_session_id;
/* module_sigrokdecode.c */
extern SRD_PRIV PyObject *mod_sigrokdecode;
diff --git a/instance.c b/instance.c
index 5f48b71..8a5ddef 100644
--- a/instance.c
+++ b/instance.c
@@ -28,7 +28,7 @@
/** @cond PRIVATE */
-extern GSList *sessions;
+extern SRD_PRIV GSList *sessions;
/* type_logic.c */
extern SRD_PRIV PyTypeObject srd_logic_type;
diff --git a/session.c b/session.c
index 2ab7462..24846c5 100644
--- a/session.c
+++ b/session.c
@@ -41,7 +41,7 @@
/** @cond PRIVATE */
SRD_PRIV GSList *sessions = NULL;
-int max_session_id = -1;
+SRD_PRIV int max_session_id = -1;
/** @endcond */
diff --git a/srd.c b/srd.c
index 61280ef..599d190 100644
--- a/srd.c
+++ b/srd.c
@@ -29,8 +29,8 @@
SRD_PRIV GSList *searchpaths = NULL;
/* session.c */
-extern GSList *sessions;
-extern int max_session_id;
+extern SRD_PRIV GSList *sessions;
+extern SRD_PRIV int max_session_id;
/** @endcond */