aboutsummaryrefslogtreecommitdiffstats
path: root/gtp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-11-06 14:17:45 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-11-06 14:17:45 +0100
commitd7566b8280fd3339eb8500d587252b785e28a8a8 (patch)
treeb8d207d33bab99894c9e88f6e3a9d244d95d54f7 /gtp
parent0aa17870bc08decee617168a452bab7fa9acdee5 (diff)
pdp: Mark the data as static as only pdp.c should access this data
Diffstat (limited to 'gtp')
-rw-r--r--gtp/pdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtp/pdp.c b/gtp/pdp.c
index 7ce9128..dfb91ea 100644
--- a/gtp/pdp.c
+++ b/gtp/pdp.c
@@ -31,8 +31,8 @@
* Global variables TODO: most should be moved to gsn_t
*************************************************************/
-struct pdp_t pdpa[PDP_MAX]; /* PDP storage */
-struct pdp_t *hashtid[PDP_MAX]; /* Hash table for IMSI + NSAPI */
+static struct pdp_t pdpa[PDP_MAX]; /* PDP storage */
+static struct pdp_t *hashtid[PDP_MAX]; /* Hash table for IMSI + NSAPI */
/* struct pdp_t* haship[PDP_MAX]; Hash table for IP and network interface */
/* ***********************************************************