projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maint.mk: prohibit inclusion of "verify.h" without use
[gnulib.git]
/
lib
/
gettimeofday.c
diff --git
a/lib/gettimeofday.c
b/lib/gettimeofday.c
index
b2545f5
..
ae2a6f1
100644
(file)
--- a/
lib/gettimeofday.c
+++ b/
lib/gettimeofday.c
@@
-1,6
+1,6
@@
/* Provide gettimeofday for systems that don't have it or for which it's broken.
/* Provide gettimeofday for systems that don't have it or for which it's broken.
- Copyright (C) 2001-2003, 2005-2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2005-2007, 2009
-2011
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-40,10
+40,10
@@
static struct tm tm_zero_buffer;
static struct tm *localtime_buffer_addr = &tm_zero_buffer;
static struct tm tm_zero_buffer;
static struct tm *localtime_buffer_addr = &tm_zero_buffer;
-#undef localtime
+#
undef localtime
extern struct tm *localtime (time_t const *);
extern struct tm *localtime (time_t const *);
-#undef gmtime
+#
undef gmtime
extern struct tm *gmtime (time_t const *);
/* This is a wrapper for localtime. It is used only on systems for which
extern struct tm *gmtime (time_t const *);
/* This is a wrapper for localtime. It is used only on systems for which
@@
-79,7
+79,7
@@
rpl_gmtime (time_t const *timep)
#if TZSET_CLOBBERS_LOCALTIME
#if TZSET_CLOBBERS_LOCALTIME
-#undef tzset
+#
undef tzset
extern void tzset (void);
/* This is a wrapper for tzset, for systems on which tzset may clobber
extern void tzset (void);
/* This is a wrapper for tzset, for systems on which tzset may clobber
@@
-100,7
+100,7
@@
rpl_tzset (void)
causes problems. */
int
causes problems. */
int
-
rpl_
gettimeofday (struct timeval *restrict tv, void *restrict tz)
+gettimeofday (struct timeval *restrict tv, void *restrict tz)
{
#undef gettimeofday
#if HAVE_GETTIMEOFDAY
{
#undef gettimeofday
#if HAVE_GETTIMEOFDAY