From: Rich Felker Date: Tue, 13 Aug 2019 14:19:09 +0000 (-0400) Subject: fix accidentlly-external cmp symbol introduced with catgets X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b19fa247831bedd78fe4a671786883a25ddb6ca1;hp=f2435263d7366a81b734c8a69877f1359083ce8c;p=musl fix accidentlly-external cmp symbol introduced with catgets commit 7590203c486d9002522019045d34ee3dee0a66f5 omitted static here. --- diff --git a/src/locale/catgets.c b/src/locale/catgets.c index d4a44b35..71c31c1d 100644 --- a/src/locale/catgets.c +++ b/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 xy ? 1 : 0;