openwrt_archive/toolchain/uClibc/patches-0.9.33.2/100-fix_unifdef.patch
Felix Fietkau aa825fbeba uClibc: get rid of bogus unused strlcpy definition to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r38567

SVN-Revision: 38621
2013-10-30 21:47:10 +00:00

12 lines
448 B
Diff

--- 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 */