Reorder code and decls so it's compilable with gcc 2.96 (C89).

This commit is contained in:
Guido van Rossum 2007-08-25 03:14:09 +00:00
parent 8c66326368
commit b908126c3a
1 changed files with 2 additions and 1 deletions

View File

@ -354,9 +354,10 @@ static int
gettmarg(PyObject *args, struct tm *p)
{
int y;
memset((void *) p, '\0', sizeof(struct tm));
PyObject *t = NULL;
memset((void *) p, '\0', sizeof(struct tm));
if (PyTuple_Check(args)) {
t = args;
Py_INCREF(t);