[scripts] env: colorize git output
[openwrt.git] / target / linux / uml / patches-2.6.39 / 002-export___sprintf_chk.patch
1 diff --git a/arch/um/os-Linux/user_syms.c b/arch/um/os-Linux/user_syms.c
2 index 05f5ea8..9e71e7e 100644
3 --- a/arch/um/os-Linux/user_syms.c
4 +++ b/arch/um/os-Linux/user_syms.c
5 @@ -18,6 +18,9 @@ extern void *memmove(void *, const void *, size_t);
6 extern void *memset(void *, int, size_t);
7 extern int printf(const char *, ...);
8
9 +extern int __sprintf_chk(char *str, int flag, size_t strlen, const char *format);
10 +EXPORT_SYMBOL(__sprintf_chk);
11 +
12 /* If it's not defined, the export is included in lib/string.c.*/
13 #ifdef __HAVE_ARCH_STRSTR
14 EXPORT_SYMBOL(strstr);
This page took 0.056952 seconds and 5 git commands to generate.