From 162e7612f623fe69437ef258b033e4c1518a5cc8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 24 Mar 2010 21:04:22 +0100 Subject: unexport a couple of variables that don't need to be exported Signed-off-by: Lennart Poettering Acked-by: Dhaval Giani Signed-off-by: Dhaval Giani --- src/api.c | 2 +- src/config.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/api.c b/src/api.c index 947d25c..41f6d3e 100644 --- a/src/api.c +++ b/src/api.c @@ -60,7 +60,7 @@ __thread int last_errno; #define MAXLEN 256 /* the value have to be thread specific */ -__thread char errtext[MAXLEN]; +static __thread char errtext[MAXLEN]; /* Task command name length */ #define TASK_COMM_LEN 16 diff --git a/src/config.c b/src/config.c index b6be503..9c62b01 100644 --- a/src/config.c +++ b/src/config.c @@ -65,7 +65,7 @@ static int namespace_table_index; static pthread_rwlock_t config_table_lock = PTHREAD_RWLOCK_INITIALIZER; static pthread_rwlock_t namespace_table_lock = PTHREAD_RWLOCK_INITIALIZER; static struct cgroup config_cgroup_table[MAX_CGROUPS]; -int cgroup_table_index; +static int cgroup_table_index; /* * Needed for the type while mounting cgroupfs. -- cgit