Browse Source

fix accidentlly-external cmp symbol introduced with catgets

commit 7590203c486d9002522019045d34ee3dee0a66f5 omitted static here.
Rich Felker 5 years ago
parent
commit
b19fa24783
1 changed files with 1 additions and 1 deletions
  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;