]> eyrie.org Git - kerberos/wallet.git/commitdiff
Remove dead strlcpy and strlcat declarations
authorRuss Allbery <eagle@eyrie.org>
Sat, 23 Jan 2016 22:49:52 +0000 (14:49 -0800)
committerRuss Allbery <eagle@eyrie.org>
Sat, 23 Jan 2016 22:49:52 +0000 (14:49 -0800)
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
portable/system.h

diff --git a/NEWS b/NEWS
index e299bc1c4b089758e89e88651bfe6ad5883d90c6..453c3263004958049254773e0b43335e05946e85 100644 (file)
--- 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
index 581e46c08eb6bad0b977fb46e368961b22b110db..f683300d235419b54951e38190948289c3a437d4 100644 (file)
@@ -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