From 2060510aaafcc7eb27fac071334b4f8aa1f3cab2 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 3 May 2014 23:52:54 +0200 Subject: [PATCH] Make 'pd_list' static, it's only used in one file. --- decoder.c | 2 +- srd.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/decoder.c b/decoder.c index f31202b..4b32638 100644 --- a/decoder.c +++ b/decoder.c @@ -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; diff --git a/srd.c b/srd.c index b74b780..9d04a8e 100644 --- a/srd.c +++ b/srd.c @@ -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 */ /** -- 2.30.2