]> granicus.if.org Git - file/commitdiff
remove strtoul check (petk)
authorChristos Zoulas <christos@zoulas.com>
Thu, 28 Mar 2019 20:54:57 +0000 (20:54 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 28 Mar 2019 20:54:57 +0000 (20:54 +0000)
configure.ac
src/file.h

index d6a692afff7708ff898335b71ed7edd6461045da..711c05ae80a14c023ccd7d3db334f7b437cd7e24 100644 (file)
@@ -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)
index feb91024114f61b4b9ebbd42cd973461378fd974..2b372714c8a373e503e5a5e65915004b718e8004 100644 (file)
@@ -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