* editfns.c, systime.h (mktime_z) [!HAVE_TZALLOC]: Now static.

This commit is contained in:
Paul Eggert 2015-03-13 09:55:59 -07:00
parent b91eafe31a
commit 2c59be9c67
3 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
* editfns.c, systime.h (mktime_z) [!HAVE_TZALLOC]: Now static.
2015-03-12 Eli Zaretskii <eliz@gnu.org>
* w32font.c (font_supported_scripts): Add subranges for Latin

View file

@ -1411,7 +1411,7 @@ check_time_validity (int validity)
/* A substitute for mktime_z on platforms that lack it. It's not
thread-safe, but should be good enough for Emacs in typical use. */
#ifndef HAVE_TZALLOC
time_t
static time_t
mktime_z (timezone_t tz, struct tm *tm)
{
char *oldtz = getenv ("TZ");

View file

@ -118,8 +118,6 @@ extern struct timespec lisp_time_argument (Lisp_Object);
typedef char const *timezone_t;
INLINE timezone_t tzalloc (char const *name) { return name; }
INLINE void tzfree (timezone_t tz) { }
/* Defined in editfns.c. */
extern time_t mktime_z (timezone_t, struct tm *);
#endif
INLINE_HEADER_END