diff options
| author | Paul Eggert | 2015-03-13 09:55:59 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-03-13 09:58:38 -0700 |
| commit | 2c59be9c67e50f70f0407794bfe79038ded58a72 (patch) | |
| tree | 2dbd7604f83110ac3b018cb578b95534a85b8ea4 /src | |
| parent | b91eafe31a524b391d5cec079cf8f36c2f9d5f30 (diff) | |
| download | emacs-2c59be9c67e50f70f0407794bfe79038ded58a72.tar.gz emacs-2c59be9c67e50f70f0407794bfe79038ded58a72.zip | |
* editfns.c, systime.h (mktime_z) [!HAVE_TZALLOC]: Now static.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/editfns.c | 2 | ||||
| -rw-r--r-- | src/systime.h | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 517052590c3..0c32b74fdba 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2015-03-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * editfns.c, systime.h (mktime_z) [!HAVE_TZALLOC]: Now static. | ||
| 4 | |||
| 1 | 2015-03-12 Eli Zaretskii <eliz@gnu.org> | 5 | 2015-03-12 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * w32font.c (font_supported_scripts): Add subranges for Latin | 7 | * w32font.c (font_supported_scripts): Add subranges for Latin |
diff --git a/src/editfns.c b/src/editfns.c index dbcb3160b27..7c146f13e14 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1411,7 +1411,7 @@ check_time_validity (int validity) | |||
| 1411 | /* A substitute for mktime_z on platforms that lack it. It's not | 1411 | /* A substitute for mktime_z on platforms that lack it. It's not |
| 1412 | thread-safe, but should be good enough for Emacs in typical use. */ | 1412 | thread-safe, but should be good enough for Emacs in typical use. */ |
| 1413 | #ifndef HAVE_TZALLOC | 1413 | #ifndef HAVE_TZALLOC |
| 1414 | time_t | 1414 | static time_t |
| 1415 | mktime_z (timezone_t tz, struct tm *tm) | 1415 | mktime_z (timezone_t tz, struct tm *tm) |
| 1416 | { | 1416 | { |
| 1417 | char *oldtz = getenv ("TZ"); | 1417 | char *oldtz = getenv ("TZ"); |
diff --git a/src/systime.h b/src/systime.h index 4787c512aaa..744af17b640 100644 --- a/src/systime.h +++ b/src/systime.h | |||
| @@ -118,8 +118,6 @@ extern struct timespec lisp_time_argument (Lisp_Object); | |||
| 118 | typedef char const *timezone_t; | 118 | typedef char const *timezone_t; |
| 119 | INLINE timezone_t tzalloc (char const *name) { return name; } | 119 | INLINE timezone_t tzalloc (char const *name) { return name; } |
| 120 | INLINE void tzfree (timezone_t tz) { } | 120 | INLINE void tzfree (timezone_t tz) { } |
| 121 | /* Defined in editfns.c. */ | ||
| 122 | extern time_t mktime_z (timezone_t, struct tm *); | ||
| 123 | #endif | 121 | #endif |
| 124 | 122 | ||
| 125 | INLINE_HEADER_END | 123 | INLINE_HEADER_END |