INN commit: branches/2.5 (configure.ac innfeed/tape.c)
INN Commit
rra at isc.org
Sun Mar 21 16:48:58 UTC 2010
Date: Sunday, March 21, 2010 @ 09:48:58
Author: iulius
Revision: 9022
Remove obsolete AC_HEADER_DIRENT and (unused) AC_STRUCT_TM.
Modified:
branches/2.5/configure.ac
branches/2.5/innfeed/tape.c
----------------+
configure.ac | 2 --
innfeed/tape.c | 5 -----
2 files changed, 7 deletions(-)
Modified: configure.ac
===================================================================
--- configure.ac 2010-03-21 16:48:39 UTC (rev 9021)
+++ configure.ac 2010-03-21 16:48:58 UTC (rev 9022)
@@ -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-21 16:48:39 UTC (rev 9021)
+++ innfeed/tape.c 2010-03-21 16:48:58 UTC (rev 9022)
@@ -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