X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fdtime.c;h=1273112bfffd39b23914bec313f6e5261fee3a0e;hb=d132c52459d18f45fa9d227e5f3afebad43f7cfc;hp=e0405e99fc66df4ad140bdcd2db40135a022f3fe;hpb=74ed4c043b3e22fa7e16fd892c381e9b16ca8c27;p=mmh diff --git a/sbr/dtime.c b/sbr/dtime.c index e0405e9..1273112 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -12,13 +12,7 @@ #include #if !defined(HAVE_STRUCT_TM_TM_GMTOFF) -extern int daylight; extern long timezone; -extern char *tzname[]; -#endif - -#ifndef abs -# define abs(a) (a >= 0 ? a : -a) #endif /* @@ -85,10 +79,6 @@ dlocaltime(time_t *clock) static struct tws tw; struct tm *tm; -#if !defined(HAVE_STRUCT_TM_TM_GMTOFF) - struct timeb tb; -#endif - if (!clock) return NULL;