ruby-changes:16599
From: akr <ko1@a...>
Date: Fri, 9 Jul 2010 22:35:31 +0900 (JST)
Subject: [ruby-changes:16599] Ruby:r28592 (trunk): * strftime.c: unused declarations removed.
akr 2010-07-09 22:33:39 +0900 (Fri, 09 Jul 2010) New Revision: 28592 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28592 Log: * strftime.c: unused declarations removed. Modified files: trunk/ChangeLog trunk/strftime.c Index: ChangeLog =================================================================== --- ChangeLog (revision 28591) +++ ChangeLog (revision 28592) @@ -1,3 +1,7 @@ +Fri Jul 9 22:32:54 2010 Tanaka Akira <akr@f...> + + * strftime.c: unused declarations removed. + Fri Jul 9 21:20:22 2010 Tanaka Akira <akr@f...> * strftime.c (rb_strftime_with_timespec): clear colons at unknown Index: strftime.c =================================================================== --- strftime.c (revision 28591) +++ strftime.c (revision 28592) @@ -122,25 +122,6 @@ #define range(low, item, hi) max(low, min(item, hi)) -#if defined __WIN32__ || defined _WIN32 -#define DLL_IMPORT __declspec(dllimport) -#endif -#ifndef DLL_IMPORT -#define DLL_IMPORT -#endif -#if !defined(OS2) && defined(HAVE_TZNAME) -extern DLL_IMPORT char *tzname[2]; -#ifdef HAVE_DAYLIGHT -extern DLL_IMPORT int daylight; -#endif -#ifdef HAVE_VAR_TIMEZONE -extern DLL_IMPORT TYPEOF_VAR_TIMEZONE timezone; -#endif -#ifdef HAVE_VAR_ALTZONE -extern DLL_IMPORT TYPEOF_VAR_ALTZONE altzone; -#endif -#endif - #undef min /* just in case */ /* min --- return minimum of two numbers */ @@ -197,15 +178,6 @@ ptrdiff_t i; int w; long y; -#ifndef HAVE_TM_ZONE -#ifndef HAVE_TM_NAME -#if ((defined(MAILHEADER_EXT) && !HAVE_VAR_TIMEZONE && HAVE_GETTIMEOFDAY) || \ - (!HAVE_TZNAME && HAVE_TIMEZONE)) - struct timeval tv; - struct timezone zone; -#endif -#endif /* HAVE_TM_NAME */ -#endif /* HAVE_TM_ZONE */ int precision, flags, colons; char padding; enum {LEFT, CHCASE, LOWER, UPPER, LOCALE_O, LOCALE_E}; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/