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. --- portable/system.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'portable') 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