FreeBSD needs the HAVE_STRUCT_TM_TM_GMTOFF test.
[mmh] / sbr / dtime.c
index e0405e9..48e13db 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;