From: Lennart Poettering Date: Wed, 24 Mar 2010 20:04:22 +0000 (+0100) Subject: unexport a couple of variables that don't need to be exported X-Git-Tag: v0.36~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=162e7612f623fe69437ef258b033e4c1518a5cc8;p=thirdparty%2Flibcgroup.git 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 --- diff --git a/src/api.c b/src/api.c index 947d25c4..41f6d3e2 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 b6be503b..9c62b01b 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.