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 | 0883ff098761af5fa1a25ff4ad7f780f4c1d96f9 (patch) | |
tree | 8203b6d571dbcd714afcb3e99b0ce9efa4345370 | |
parent | d7d2be9d229bec4fa45f367e6fee8d812c6d1b65 (diff) | |
download | mandoc-0883ff098761af5fa1a25ff4ad7f780f4c1d96f9.tar.gz mandoc-0883ff098761af5fa1a25ff4ad7f780f4c1d96f9.tar.zst mandoc-0883ff098761af5fa1a25ff4ad7f780f4c1d96f9.zip |
remove strnlen(3) compat, we no longer use it
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | config.h.post | 3 | ||||
-rwxr-xr-x | configure | 1 |
3 files changed, 1 insertions, 8 deletions
@@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.395.2.18 2014/04/24 00:36:44 schwarze Exp $ +# $Id: Makefile,v 1.395.2.19 2014/08/04 23:45:37 schwarze Exp $ # # Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> # Copyright (c) 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -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 |