From d06e318c304a8c55277c616765a8a0502eb9207d Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sat, 23 Jan 2016 14:49:52 -0800 Subject: Remove dead strlcpy and strlcat declarations Remove stray references to strlcpy and strlcat that broke builds on platforms where those functions are part of libc. Thanks to Karl Kornel for the report. --- NEWS | 6 ++++++ portable/system.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index e299bc1..453c326 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,11 @@ User-Visible wallet Changes +wallet 1.4 (unreleased) + + Remove stray references to strlcpy and strlcat that broke builds on + platforms where those functions are part of libc. Thanks to Karl + Kornel for the report. + wallet 1.3 (2016-01-17) This release adds initial, experimental support for using Active diff --git a/portable/system.h b/portable/system.h index 581e46c..f683300 100644 --- a/portable/system.h +++ b/portable/system.h @@ -136,12 +136,6 @@ extern void *reallocarray(void *, size_t, size_t); #if !HAVE_SETENV extern int setenv(const char *, const char *, int); #endif -#if !HAVE_DECL_STRLCAT -extern size_t strlcat(char *, const char *, size_t); -#endif -#if !HAVE_DECL_STRLCPY -extern size_t strlcpy(char *, const char *, size_t); -#endif /* Undo default visibility change. */ #pragma GCC visibility pop -- cgit v1.2.3