diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-08 09:35:51 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-08 20:30:06 -0600 |
commit | aa092ccf6ab48f7e0c154a6c12b40c5a120500be (patch) | |
tree | 949656aae8f805fc3a9d8741a17c98772f78b73c /m4 | |
parent | 2a876d901d8cccb3f633b65a93abaead81628a8f (diff) | |
download | coreutils-aa092ccf6ab48f7e0c154a6c12b40c5a120500be.tar.xz |
maint: remove unused macros and declarations
* src/system.h (EDQUOT, EISDIR, ENOSYS, EOVERFLOW, F_OK, X_OK)
(W_OK, R_OK): Delete; macros provided by gnulib.
(includes): Gnulib guarantees both <time.h> and <sys/time.h>, in
either order.
(free, malloc, memchr, realloc, getenv, lseek): Delete, gnulib
guarantees these declarations.
* m4/check-decl.m4 (gl_CHECK_DECLS): Delete checks now done by
gnulib.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-decl.m4 | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/m4/check-decl.m4 b/m4/check-decl.m4 index d1a520a71..530c59e16 100644 --- a/m4/check-decl.m4 +++ b/m4/check-decl.m4 @@ -1,4 +1,4 @@ -#serial 24 +#serial 25 # Check declarations for this package. dnl Copyright (C) 1997-2001, 2003-2006, 2008-2009 Free Software @@ -37,13 +37,7 @@ AC_DEFUN([gl_CHECK_DECLS], AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>]) - AC_CHECK_DECLS_ONCE([free]) - AC_CHECK_DECLS_ONCE([getenv]) AC_CHECK_DECLS_ONCE([geteuid]) AC_CHECK_DECLS_ONCE([getlogin]) AC_CHECK_DECLS_ONCE([getuid]) - AC_CHECK_DECLS_ONCE([lseek]) - AC_CHECK_DECLS_ONCE([malloc]) - AC_CHECK_DECLS_ONCE([memchr]) - AC_CHECK_DECLS_ONCE([realloc]) ]) |