aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-11-14 09:59:19 +0000
committersin <sin@2f30.org>2014-11-14 10:26:46 +0000
commitf4b5df5b3af4d367f2116ecb27100ac4befcc79b (patch)
tree22a9095390ffcc9d79d904b85e3752b2ebd42089 /util.h
parentcc88af72ca6a18925e28748cce854c514fbc7752 (diff)
downloadnoice-f4b5df5b3af4d367f2116ecb27100ac4befcc79b.tar.gz
Replace asprintf() with strlcpy() and strlcat()
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util.h b/util.h
index 4da3885..89110e5 100644
--- a/util.h
+++ b/util.h
@@ -1,2 +1,6 @@
+#include <stdarg.h>
+
+#undef strlcat
+size_t strlcat(char *, const char *, size_t);
#undef strlcpy
size_t strlcpy(char *, const char *, size_t);
Un proyecto texto-plano.xyz