From 960ba723c9cbe270b55f2bc462993d7800a0ccdd Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 28 Mar 2019 20:54:57 +0000 Subject: [PATCH] remove strtoul check (petk) --- configure.ac | 2 +- src/file.h | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index d6a692af..711c05ae 100644 --- a/configure.ac +++ b/configure.ac @@ -151,7 +151,7 @@ else fi]) dnl Checks for functions -AC_CHECK_FUNCS(strndup strtoul mkstemp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale memmem) +AC_CHECK_FUNCS(strndup mkstemp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale memmem) dnl Provide implementation of some required functions if necessary AC_REPLACE_FUNCS(getopt_long asprintf vasprintf strlcpy strlcat getline ctime_r asctime_r localtime_r gmtime_r pread strcasestr fmtcheck dprintf) diff --git a/src/file.h b/src/file.h index feb91024..2b372714 100644 --- a/src/file.h +++ b/src/file.h @@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.203 2019/03/28 20:52:43 christos Exp $ + * @(#)$File: file.h,v 1.204 2019/03/28 20:54:57 christos Exp $ */ #ifndef __file_h__ @@ -553,10 +553,6 @@ extern const char *file_names[]; extern const size_t file_nnames; #endif -#ifndef HAVE_STRTOUL -#define strtoul(a, b, c) strtol(a, b, c) -#endif - #ifndef HAVE_PREAD ssize_t pread(int, void *, size_t, off_t); #endif -- 2.50.0