From: Emden R. Gansner Date: Wed, 6 Jan 2016 18:04:07 +0000 (-0500) Subject: Make global variable static. X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~69^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad997ec9644174eac2190817c68b94a4f06b4957;p=graphviz Make global variable static. --- diff --git a/lib/common/postproc.c b/lib/common/postproc.c index f3ac76aad..6130bc81b 100644 --- a/lib/common/postproc.c +++ b/lib/common/postproc.c @@ -421,7 +421,7 @@ static int cmp_obj(xlabel_state* state, object_t* obj0, object_t* obj1) } #elif (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) // EL5 has glibc 2.5 and no qsort_r -xlabel_state *XLABS; // global +static xlabel_state *XLABS; // global typedef int (*qsort_r_cmpf) (const void *, const void *);