that comes with SunOS -- don't initialize aggregates in decls of
automatic variables. Reported by Kaveh Ghazi.
case 's': /* GNU extension. */
{
- struct tm ltm = *tp;
- time_t t = mktime (<m);
+ struct tm ltm;
+ time_t t;
+
+ ltm = *tp;
+ t = mktime (<m);
/* Generate string value for T using time_t arithmetic;
this works even if sizeof (long) < sizeof (time_t). */
diff = tp->tm_gmtoff;
#else
struct tm gtm;
- struct tm ltm = *tp;
- time_t lt = mktime (<m);
+ struct tm ltm;
+ time_t lt;
+
+ ltm = *tp;
+ lt = mktime (<m);
if (lt == (time_t) -1)
{