aboutsummaryrefslogtreecommitdiff
path: root/portable
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2016-01-23 14:49:52 -0800
committerRuss Allbery <eagle@eyrie.org>2016-01-23 14:49:52 -0800
commitd06e318c304a8c55277c616765a8a0502eb9207d (patch)
treebaea0c0941ec16c811d135d5ad40401c957c3295 /portable
parent9db57ec57cf7bcc46c986c1bc67eb3fe41b7d08b (diff)
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.
Diffstat (limited to 'portable')
-rw-r--r--portable/system.h6
1 files changed, 0 insertions, 6 deletions
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