]> granicus.if.org Git - graphviz/commitdiff
Make global variable static.
authorEmden R. Gansner <erg@alum.mit.edu>
Wed, 6 Jan 2016 18:04:07 +0000 (13:04 -0500)
committerEmden R. Gansner <erg@alum.mit.edu>
Wed, 6 Jan 2016 18:04:07 +0000 (13:04 -0500)
lib/common/postproc.c

index f3ac76aadc0346a34cf5914e667d688d0413965e..6130bc81b1069721bdda140e0190b1686c175703 100644 (file)
@@ -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 *);