summaryrefslogtreecommitdiffstats
path: root/Modules/resource.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-03-30 20:51:29 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-03-30 20:51:29 (GMT)
commit1ac3e3991385401f6c4f9626f41787cd40e27a81 (patch)
tree737ab1f88fc1de37d7c179fb4a96f72986ba7e3d /Modules/resource.c
parent1a99cf045d7df8d3f9dbd1d8db2ca164cdd3d3fc (diff)
downloadcpython-1ac3e3991385401f6c4f9626f41787cd40e27a81.zip
cpython-1ac3e3991385401f6c4f9626f41787cd40e27a81.tar.gz
cpython-1ac3e3991385401f6c4f9626f41787cd40e27a81.tar.bz2
Get build working with pre-C99 compilers
Diffstat (limited to 'Modules/resource.c')
-rw-r--r--Modules/resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/resource.c b/Modules/resource.c
index e82df6d..c1b6377 100644
--- a/Modules/resource.c
+++ b/Modules/resource.c
@@ -195,10 +195,10 @@ resource_setrlimit(PyObject *self, PyObject *args)
static PyObject *
resource_getpagesize(PyObject *self, PyObject *args)
{
+ long pagesize = 0;
if (!PyArg_ParseTuple(args, ":getpagesize"))
return NULL;
- long pagesize = 0;
#if defined(HAVE_GETPAGESIZE)
pagesize = getpagesize();
#elif defined(HAVE_SYSCONF)