diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-05-04 21:00:24 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-05-04 21:00:24 +0200 |
commit | 23a29d24b01a68acb11be55abfcbe8d3fb0cdeb2 (patch) | |
tree | 958b23af9c57153d04fd67adad7f496c3f9657ed | |
parent | aa6506b86e43d332f839ac1d6e0361ef36e9de75 (diff) | |
download | libsigrokdecode-23a29d24b01a68acb11be55abfcbe8d3fb0cdeb2.tar.gz libsigrokdecode-23a29d24b01a68acb11be55abfcbe8d3fb0cdeb2.zip |
Mark some variables more consistently as SRD_PRIV.
-rw-r--r-- | decoder.c | 6 | ||||
-rw-r--r-- | instance.c | 2 | ||||
-rw-r--r-- | session.c | 2 | ||||
-rw-r--r-- | srd.c | 4 |
4 files changed, 7 insertions, 7 deletions
@@ -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; @@ -28,7 +28,7 @@ /** @cond PRIVATE */ -extern GSList *sessions; +extern SRD_PRIV GSList *sessions; /* type_logic.c */ extern SRD_PRIV PyTypeObject srd_logic_type; @@ -41,7 +41,7 @@ /** @cond PRIVATE */ SRD_PRIV GSList *sessions = NULL; -int max_session_id = -1; +SRD_PRIV int max_session_id = -1; /** @endcond */ @@ -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 */ |