]> git.marmaro.de Git - mmh/blobdiff - sbr/dtime.c
FreeBSD needs the HAVE_STRUCT_TM_TM_GMTOFF test.
[mmh] / sbr / dtime.c
index e0405e99fc66df4ad140bdcd2db40135a022f3fe..48e13dbbdccdfd3174c4ccf6d5846f80e21ec8bd 100644 (file)
@@ -12,9 +12,7 @@
 #include <time.h>
 
 #if !defined(HAVE_STRUCT_TM_TM_GMTOFF)
-extern int daylight;
 extern long timezone;
-extern char *tzname[];
 #endif
 
 #ifndef abs
@@ -85,10 +83,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;