mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-22 14:43:30 +00:00
uClibc: get rid of bogus unused strlcpy definition to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38567
This commit is contained in:
parent
efdcc4e98c
commit
3f6a5c862b
11
toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch
Normal file
11
toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/extra/scripts/unifdef.c
|
||||
+++ b/extra/scripts/unifdef.c
|
||||
@@ -78,8 +78,6 @@ __FBSDID("$FreeBSD: /repoman/r/ncvs/src/
|
||||
#define errx(exit_code, fmt, args...) ({ warnx(fmt, ## args); exit(exit_code); })
|
||||
#define err(exit_code, fmt, args...) errx(exit_code, fmt ": %s", ## args, strerror(errno))
|
||||
|
||||
-size_t strlcpy(char *dst, const char *src, size_t siz);
|
||||
-
|
||||
/* types of input lines: */
|
||||
typedef enum {
|
||||
LT_TRUEI, /* a true #if with ignore flag */
|
Loading…
Reference in New Issue
Block a user