summaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-01-31 15:27:53 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-01-31 15:27:53 +0100
commitfa635cfc925a95fe5c84569b043866dc3482ce90 (patch)
tree02e4a9a3024730b4387783b45ae66fdbe42477ac /compat.h
parent4b3f099a01635e99e1112c56906ae337c1bb0ba9 (diff)
always add strlcpy, strlcat, remove COMPAT #ifdef
The overhead for OpenBSD is minimal. I will periodically sync from OpenBSD libc.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/compat.h b/compat.h
deleted file mode 100644
index 0947de6..0000000
--- a/compat.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifdef COMPAT
-#undef strlcat
-size_t strlcat(char *, const char *, size_t);
-#undef strlcpy
-size_t strlcpy(char *, const char *, size_t);
-#endif