aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-strnlen.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-04 23:44:29 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-04 23:44:29 +0000
commit4e652d4d4774328655449fc7545711106347d2ae (patch)
tree3ab2533f0abdd93e5c1c646cf339ba7813446622 /test-strnlen.c
parentf5089bf55cd66d1941039622ea9434e2a5480521 (diff)
downloadmandoc-4e652d4d4774328655449fc7545711106347d2ae.tar.gz
mandoc-4e652d4d4774328655449fc7545711106347d2ae.tar.zst
mandoc-4e652d4d4774328655449fc7545711106347d2ae.zip
remove strnlen(3) compat, we no longer use it
Diffstat (limited to 'test-strnlen.c')
-rw-r--r--test-strnlen.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test-strnlen.c b/test-strnlen.c
deleted file mode 100644
index 0bb69791..00000000
--- a/test-strnlen.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <string.h>
-
-int
-main(void)
-{
- const char s[1] = { 'a' };
- return(1 != strnlen(s, 1));
-}