summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/uClibc-0.9.31.1-export-strverscmp.patch
blob: 19bc021b887ef76db9355a73bd3a7caf8e4e2aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 139b8f0c673fed465d27f99c98568e5d5e1b9b72 Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Fri, 4 Jun 2010 13:36:30 +0200
Subject: [PATCH] strverscmp: I forgot to export it

Result was:

strverscmp.o:
000000ec T __GI_strverscmp

i.e. no plain "strverscmp"!

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 libc/string/strverscmp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libc/string/strverscmp.c b/libc/string/strverscmp.c
index 74ae4c6..b19e8f0 100644
--- a/libc/string/strverscmp.c
+++ b/libc/string/strverscmp.c
@@ -115,3 +115,4 @@ int strverscmp (const char *s1, const char *s2)
       return state;
   }
 }
+libc_hidden_def(strverscmp)
-- 
1.7.3.4