Commit 2c59be9c authored by Paul Eggert's avatar Paul Eggert
Browse files

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

parent b91eafe3
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
......
......@@ -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");
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment