From 23a29d24b01a68acb11be55abfcbe8d3fb0cdeb2 Mon Sep 17 00:00:00 2001
From: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun, 4 May 2014 21:00:24 +0200
Subject: Mark some variables more consistently as SRD_PRIV.

---
 decoder.c  | 6 +++---
 instance.c | 2 +-
 session.c  | 2 +-
 srd.c      | 4 ++--
 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 */
 
-- 
cgit v1.2.3-70-g09d2