Kaydet (Commit) b908126c authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst 8c663263
...@@ -354,9 +354,10 @@ static int ...@@ -354,9 +354,10 @@ static int
gettmarg(PyObject *args, struct tm *p) gettmarg(PyObject *args, struct tm *p)
{ {
int y; int y;
memset((void *) p, '\0', sizeof(struct tm));
PyObject *t = NULL; PyObject *t = NULL;
memset((void *) p, '\0', sizeof(struct tm));
if (PyTuple_Check(args)) { if (PyTuple_Check(args)) {
t = args; t = args;
Py_INCREF(t); Py_INCREF(t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment