From 7896466a672314b01bd1d630f50a3c7e9e6c6911 Mon Sep 17 00:00:00 2001 From: Elliot Nunn Date: Wed, 19 Sep 2018 18:19:37 +0800 Subject: [PATCH] rm config --- config.h | 60 -------------------------------------------------------- data.c | 8 -------- 2 files changed, 68 deletions(-) delete mode 100644 config.h diff --git a/config.h b/config.h deleted file mode 100644 index fae133c..0000000 --- a/config.h +++ /dev/null @@ -1,60 +0,0 @@ -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ -/* - * libhfs - library for reading and writing Macintosh HFS volumes - * Copyright (C) 1996-1998 Robert Leslie - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Id: acconfig.h,v 1.5 1998/04/11 08:27:11 rob Exp $ - */ - -#pragma once - -/***************************************************************************** - * Definitions selected automatically by `configure' * - *****************************************************************************/ - -/* Define to empty if the keyword does not work. */ -/* #undef const */ - -/* Define to `unsigned' if doesn't define. */ -/* #undef size_t */ - -/* Define if you have the ANSI C header files. */ -//#define STDC_HEADERS 1 - -/* Define if your declares struct tm. */ -/* #undef TM_IN_SYS_TIME */ - -/* Define if you want to enable diagnostic debugging support. */ -/* #undef DEBUG */ - -/* Define if you have the mktime function. */ -#define HAVE_MKTIME 1 - -/* Define if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/***************************************************************************** - * End of automatically configured definitions * - *****************************************************************************/ - -# ifdef DEBUG -# include -# endif diff --git a/data.c b/data.c index b84fad6..e036c81 100644 --- a/data.c +++ b/data.c @@ -428,8 +428,6 @@ int d_relstring(const char *str1, const char *str2) static void calctzdiff(void) { -# ifdef HAVE_MKTIME - time_t t; int isdst; struct tm tm; @@ -448,12 +446,6 @@ void calctzdiff(void) } else tzdiff = 0; - -# else - - tzdiff = 0; - -# endif } /*