diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-05-03 23:52:54 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-05-03 23:52:54 +0200 |
commit | 2060510aaafcc7eb27fac071334b4f8aa1f3cab2 (patch) | |
tree | 852ce8d064e3347d8b07e209032f5e06f2f47ed2 | |
parent | 17475b09ef9504f91a28b0873b53cec329513077 (diff) | |
download | libsigrokdecode-2060510aaafcc7eb27fac071334b4f8aa1f3cab2.tar.gz libsigrokdecode-2060510aaafcc7eb27fac071334b4f8aa1f3cab2.zip |
Make 'pd_list' static, it's only used in one file.
-rw-r--r-- | decoder.c | 2 | ||||
-rw-r--r-- | srd.c | 3 |
2 files changed, 1 insertions, 4 deletions
@@ -40,7 +40,7 @@ /** @cond PRIVATE */ /* The list of protocol decoders. */ -SRD_PRIV GSList *pd_list = NULL; +static GSList *pd_list = NULL; /* srd.c */ extern GSList *searchpaths; @@ -32,9 +32,6 @@ SRD_PRIV GSList *searchpaths = NULL; extern GSList *sessions; extern int max_session_id; -/* decoder.c */ -extern SRD_PRIV GSList *pd_list; - /** @endcond */ /** |