summaryrefslogtreecommitdiff
path: root/src/poison.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-06-22 22:30:13 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-06-23 22:07:50 -0700
commitdbbfda0e96037da4f208ff8f00d181a5294484ae (patch)
tree7a7b9982c6d98ddc2271aade72040ea9233a4a11 /src/poison.hpp
parent83db3bbee4e19e7426a32ee89ad6c2d8e48260f2 (diff)
downloadtmwa-dbbfda0e96037da4f208ff8f00d181a5294484ae.tar.gz
tmwa-dbbfda0e96037da4f208ff8f00d181a5294484ae.tar.bz2
tmwa-dbbfda0e96037da4f208ff8f00d181a5294484ae.tar.xz
tmwa-dbbfda0e96037da4f208ff8f00d181a5294484ae.zip
add new stuff stuff (with tests!), poison memcmp and strncpy
Diffstat (limited to 'src/poison.hpp')
-rw-r--r--src/poison.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/poison.hpp b/src/poison.hpp
index 2a82a72..0a7cc57 100644
--- a/src/poison.hpp
+++ b/src/poison.hpp
@@ -74,3 +74,5 @@
#pragma GCC poison memcpy
#pragma GCC poison memmove
#pragma GCC poison memset
+#pragma GCC poison memcmp
+#pragma GCC poison strncpy // in favor of strzcpy