summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */