projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace www.ics.uci.edu/~mh/ links with corresponding rand-mh.sf.net links.
[mmh]
/
sbr
/
dtime.c
diff --git
a/sbr/dtime.c
b/sbr/dtime.c
index
e0405e9
..
1273112
100644
(file)
--- a/
sbr/dtime.c
+++ b/
sbr/dtime.c
@@
-12,13
+12,7
@@
#include <time.h>
#if !defined(HAVE_STRUCT_TM_TM_GMTOFF)
#include <time.h>
#if !defined(HAVE_STRUCT_TM_TM_GMTOFF)
-extern int daylight;
extern long timezone;
extern long timezone;
-extern char *tzname[];
-#endif
-
-#ifndef abs
-# define abs(a) (a >= 0 ? a : -a)
#endif
/*
#endif
/*
@@
-85,10
+79,6
@@
dlocaltime(time_t *clock)
static struct tws tw;
struct tm *tm;
static struct tws tw;
struct tm *tm;
-#if !defined(HAVE_STRUCT_TM_TM_GMTOFF)
- struct timeb tb;
-#endif
-
if (!clock)
return NULL;
if (!clock)
return NULL;