From 0883ff098761af5fa1a25ff4ad7f780f4c1d96f9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 4 Aug 2014 23:45:37 +0000 Subject: remove strnlen(3) compat, we no longer use it --- Makefile | 5 +---- config.h.post | 3 --- configure | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 337d6b38..70ca2da6 100644 --- a/Makefile +++ b/Makefile @@ -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 # Copyright (c) 2011, 2013, 2014 Ingo Schwarze @@ -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 diff --git a/configure b/configure index d119c567..3c7f39e3 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3-56-ge451