diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-04 23:45:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-04 23:45:37 +0000 |
commit | 626e28df65fef057e71ab7526e5a5166cdaf18bf (patch) | |
tree | 7a8f2159ac98b6c81a9c4d119445cc78bb238f33 | |
parent | 7b29e9867d63ba76d52d2203adb34457d837e07f (diff) | |
download | mandoc-626e28df65fef057e71ab7526e5a5166cdaf18bf.tar.gz |
remove strnlen(3) compat, we no longer use it
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | config.h.post | 3 | ||||
-rwxr-xr-x | configure | 1 |
3 files changed, 0 insertions, 7 deletions
@@ -83,7 +83,6 @@ TESTSRCS = test-betoh64.c \ test-reallocarray.c \ test-strlcat.c \ test-strlcpy.c \ - test-strnlen.c \ test-strptime.c SRCS = LICENSE \ @@ -109,7 +108,6 @@ SRCS = LICENSE \ compat_strcasestr.c \ compat_strlcat.c \ compat_strlcpy.c \ - compat_strnlen.c \ compat_strsep.c \ config.h.post \ config.h.pre \ @@ -233,7 +231,6 @@ COMPAT_OBJS = compat_fgetln.o \ compat_strcasestr.o \ compat_strlcat.o \ compat_strlcpy.o \ - compat_strnlen.o \ compat_strsep.o # === DEPENDENCY HANDLING ============================================== diff --git a/config.h.post b/config.h.post index fd59805e..4c3aa1ab 100644 --- a/config.h.post +++ b/config.h.post @@ -44,9 +44,6 @@ extern size_t strlcat(char *, const char *, size_t); #ifndef HAVE_STRLCPY extern size_t strlcpy(char *, const char *, size_t); #endif -#ifndef HAVE_STRNLEN -extern size_t strnlen(const char *, size_t); -#endif #ifndef HAVE_STRSEP extern char *strsep(char **, const char *); #endif @@ -38,7 +38,6 @@ runtest reallocarray REALLOCARRAY runtest strcasestr STRCASESTR runtest strlcat STRLCAT runtest strlcpy STRLCPY -runtest strnlen STRNLEN runtest strptime STRPTIME runtest strsep STRSEP echo |