Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b908126

Browse files
committed
Reorder code and decls so it's compilable with gcc 2.96 (C89).
1 parent 8c66326 commit b908126

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Modules/timemodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,10 @@ static int
354354
gettmarg(PyObject *args, struct tm *p)
355355
{
356356
int y;
357-
memset((void *) p, '\0', sizeof(struct tm));
358357
PyObject *t = NULL;
359358

359+
memset((void *) p, '\0', sizeof(struct tm));
360+
360361
if (PyTuple_Check(args)) {
361362
t = args;
362363
Py_INCREF(t);

0 commit comments

Comments
 (0)