diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-28 15:15:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-28 15:15:35 +0000 |
commit | a7dc820bf857c6d2d447c6c8fc5d98fef2ecc8e8 (patch) | |
tree | 682bfa77cd6b78b3c3324724bbbb714fbcd90e6f | |
parent | 3960cbc96b1dceec48c53568e334d44263042fb6 (diff) | |
download | upstream-a7dc820bf857c6d2d447c6c8fc5d98fef2ecc8e8.tar.gz upstream-a7dc820bf857c6d2d447c6c8fc5d98fef2ecc8e8.tar.bz2 upstream-a7dc820bf857c6d2d447c6c8fc5d98fef2ecc8e8.zip |
uClibc: get rid of bogus unused strlcpy definition to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38567 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch b/toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch new file mode 100644 index 0000000000..3d75b6e79f --- /dev/null +++ b/toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch @@ -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 */ |