fix accidentlly-external cmp symbol introduced with catgets

commit 7590203c48 omitted static here.
This commit is contained in:
Rich Felker 2019-08-13 10:19:09 -04:00
parent f2435263d7
commit b19fa24783

View File

@ -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;