summaryrefslogtreecommitdiff
path: root/packages/alsa/files/alsa-utils-strl-funcs-non-static.patch
blob: db6bacfca02ef2a401ac7fb94d105923672c25de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: alsa-utils-1.0.18/alsactl/init_sysdeps.c
===================================================================
--- alsa-utils-1.0.18.orig/alsactl/init_sysdeps.c	2009-01-25 21:12:40.000000000 -0800
+++ alsa-utils-1.0.18/alsactl/init_sysdeps.c	2009-01-25 21:12:56.000000000 -0800
@@ -18,7 +18,7 @@
  */
 
 #ifdef __GLIBC__
-static size_t strlcpy(char *dst, const char *src, size_t size)
+size_t strlcpy(char *dst, const char *src, size_t size)
 {
 	size_t bytes = 0;
 	char *q = dst;
@@ -37,7 +37,7 @@
 	return bytes;
 }
 
-static size_t strlcat(char *dst, const char *src, size_t size)
+size_t strlcat(char *dst, const char *src, size_t size)
 {
 	size_t bytes = 0;
 	char *q = dst;