~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to gnulib/mktime.c

Merge Monty's Solaris GCC fixes branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
#include <string.h>             /* For the real memcpy prototype.  */
40
40
 
41
 
#if DEBUG
 
41
#if defined(DEBUG)
42
42
# include <stdio.h>
43
43
# include <stdlib.h>
44
44
/* Make it work even if the system's libc has its own mktime routine.  */
268
268
   compared to what the result would be for UTC without leap seconds.
269
269
   If *OFFSET's guess is correct, only one CONVERT call is needed.
270
270
   This function is external because it is used also by timegm.c.  */
271
 
time_t
 
271
static time_t
272
272
__mktime_internal (struct tm *tp,
273
273
                   struct tm *(*convert) (const time_t *, struct tm *),
274
274
                   time_t *offset)
524
524
libc_hidden_weak (timelocal)
525
525
#endif
526
526
 
527
 
#if DEBUG
 
527
#if defined(DEBUG)
528
528
 
529
529
static int
530
530
not_equal_tm (const struct tm *a, const struct tm *b)