projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f243526
)
fix accidentlly-external cmp symbol introduced with catgets
author
Rich Felker
<dalias@aerifal.cx>
Tue, 13 Aug 2019 14:19:09 +0000
(10:19 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 13 Aug 2019 14:19:09 +0000
(10:19 -0400)
commit
7590203c486d9002522019045d34ee3dee0a66f5
omitted static here.
src/locale/catgets.c
patch
|
blob
|
history
diff --git
a/src/locale/catgets.c
b/src/locale/catgets.c
index d4a44b3555b0e6207351e6c9e5546bf6830c12ce..71c31c1d6d0105a074fa894fd00434e39094fc57 100644
(file)
--- 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;