INN commit: trunk (configure.ac innfeed/tape.c)
INN Commit
rra at isc.org
Fri Mar 19 20:22:48 UTC 2010
Date: Friday, March 19, 2010 @ 13:22:48
Author: iulius
Revision: 9017
Remove obsolete AC_HEADER_DIRENT and (unused) AC_STRUCT_TM.
Modified:
trunk/configure.ac
trunk/innfeed/tape.c
----------------+
configure.ac | 2 --
innfeed/tape.c | 5 -----
2 files changed, 7 deletions(-)
Modified: configure.ac
===================================================================
--- configure.ac 2010-03-19 19:50:05 UTC (rev 9016)
+++ configure.ac 2010-03-19 20:22:48 UTC (rev 9017)
@@ -390,7 +390,6 @@
fi
dnl Special checks for header files.
-AC_HEADER_DIRENT
AC_HEADER_STDBOOL
AC_HEADER_TIME
AC_HEADER_SYS_WAIT
@@ -421,7 +420,6 @@
INN_C_GNU_VAMACROS
dnl Checks for structures.
-AC_STRUCT_TM
AC_STRUCT_TIMEZONE
AC_CHECK_MEMBERS([struct stat.st_blksize])
AC_CHECK_MEMBERS([struct tm.tm_gmtoff])
Modified: innfeed/tape.c
===================================================================
--- innfeed/tape.c 2010-03-19 19:50:05 UTC (rev 9016)
+++ innfeed/tape.c 2010-03-19 20:22:48 UTC (rev 9017)
@@ -27,13 +27,8 @@
#include <sys/stat.h>
#include <syslog.h>
-#if defined (HAVE_DIRENT_H)
#include <dirent.h>
typedef struct dirent DIRENTRY ;
-#else
-#include <sys/dir.h>
-typedef struct direct DIRENTRY ;
-#endif
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
More information about the inn-committers
mailing list