diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-08-13 10:19:09 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-08-13 10:19:09 -0400 |
commit | b19fa247831bedd78fe4a671786883a25ddb6ca1 (patch) | |
tree | 12d27e6c83b5ddec663dcb80352f25b66b27ec7f | |
parent | f2435263d7366a81b734c8a69877f1359083ce8c (diff) | |
download | musl-b19fa247831bedd78fe4a671786883a25ddb6ca1.tar.gz musl-b19fa247831bedd78fe4a671786883a25ddb6ca1.tar.bz2 musl-b19fa247831bedd78fe4a671786883a25ddb6ca1.tar.xz musl-b19fa247831bedd78fe4a671786883a25ddb6ca1.zip |
fix accidentlly-external cmp symbol introduced with catgets
commit 7590203c486d9002522019045d34ee3dee0a66f5 omitted static here.
-rw-r--r-- | src/locale/catgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 x<y ? -1 : x>y ? 1 : 0; |