Skip to content

Commit

Permalink
[BZ #470] Import fix from gnulib.
Browse files Browse the repository at this point in the history
	* time/mktime.c [!_LIBC] (__mktime_internal): Define to
	mktime_internal, to avoid clashes with any __mktime_internal
	function defined in the standard library.
  • Loading branch information
Roland McGrath committed Oct 22, 2004
1 parent 7203529 commit 743c00e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2004-10-22 Paul Eggert <eggert@cs.ucla.edu>

[BZ #470] Import fix from gnulib.
* time/mktime.c [!_LIBC] (__mktime_internal): Define to
mktime_internal, to avoid clashes with any __mktime_internal
function defined in the standard library.

[BZ #469] Imported from gnulib.
* time/mktime.c (__isleap): Remove; all uses replaced by:
(leapyear): New function, which avoids overflow by not adding
Expand Down
1 change: 1 addition & 0 deletions time/mktime.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const unsigned short int __mon_yday[2][13] =
# include "time_r.h"
# undef __localtime_r
# define __localtime_r localtime_r
# define __mktime_internal mktime_internal
#endif


Expand Down

0 comments on commit 743c00e

Please sign in to comment.