Branch: Tag:

2017-12-26

2017-12-26 09:43:57 by Martin Nilsson <nilsson@fastmail.com>

mktime: Aftermath fixes.

Got rid of args to mktime_zone error. Fixed use of uninitialized value.
Indent (pretend) class local function.
Removed unused set_zone.
struct tm requires time_stuff.
Got rid of (now unused) fname argument too.

7:   #ifndef BUILTIN_EFUNS_H   #define BUILTIN_EFUNS_H    + #include "time_stuff.h" +    #define TYPEP(ID,NAME,TYPE) PMOD_EXPORT void ID(INT32 args);      #include "callback.h"
124:   PMOD_EXPORT void f__compiler_trace(INT32 args);   PMOD_EXPORT void f_gmtime(INT32 args);   PMOD_EXPORT void f_localtime(INT32 args); - time_t mktime_zone(const char*fname, int args, -  struct tm*date, int other_timezone, int tz); + time_t mktime_zone(struct tm *date, int other_timezone, int tz);   PMOD_EXPORT void f_mktime (INT32 args);   PMOD_EXPORT void f_glob(INT32 args);   PMOD_EXPORT void f_permute(INT32 args);