From b19fa247831bedd78fe4a671786883a25ddb6ca1 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 13 Aug 2019 10:19:09 -0400 Subject: [PATCH] fix accidentlly-external cmp symbol introduced with catgets commit 7590203c486d9002522019045d34ee3dee0a66f5 omitted static here. --- src/locale/catgets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1