Explorar o código

fix accidentlly-external cmp symbol introduced with catgets

commit 7590203c486d9002522019045d34ee3dee0a66f5 omitted static here.
Rich Felker %!s(int64=5) %!d(string=hai) anos
pai
achega
b19fa24783
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/locale/catgets.c

+ 1 - 1
src/locale/catgets.c

@@ -7,7 +7,7 @@
 
 #define V(p) be32toh(*(uint32_t *)(p))
 
-int cmp(const void *a, const void *b)
+static int cmp(const void *a, const void *b)
 {
 	uint32_t x = V(a), y = V(b);
 	return x<y ? -1 : x>y ? 1 : 0;