summaryrefslogtreecommitdiffstats
path: root/Modules/resource.c
diff options
context:
space:
mode:
authorPeter Schneider-Kamp <nowonder@nowonder.de>2000-07-10 12:15:54 (GMT)
committerPeter Schneider-Kamp <nowonder@nowonder.de>2000-07-10 12:15:54 (GMT)
commit416d413527ed7e9a1a5fe98f94487f6ee4315d2e (patch)
treee4ce3d7d468161576e9d8a139065875804ab61ce /Modules/resource.c
parente89b15691e224f7742b72b9e502580a0189659fe (diff)
downloadcpython-416d413527ed7e9a1a5fe98f94487f6ee4315d2e.zip
cpython-416d413527ed7e9a1a5fe98f94487f6ee4315d2e.tar.gz
cpython-416d413527ed7e9a1a5fe98f94487f6ee4315d2e.tar.bz2
ANSI-fication
Diffstat (limited to 'Modules/resource.c')
-rw-r--r--Modules/resource.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/Modules/resource.c b/Modules/resource.c
index 98a77ef..373e8d2 100644
--- a/Modules/resource.c
+++ b/Modules/resource.c
@@ -32,9 +32,7 @@ int getpagesize();
static PyObject *ResourceError;
static PyObject *
-resource_getrusage(self, args)
- PyObject *self;
- PyObject *args;
+resource_getrusage(PyObject *self, PyObject *args)
{
int who;
struct rusage ru;
@@ -79,9 +77,7 @@ resource_getrusage(self, args)
static PyObject *
-resource_getrlimit(self, args)
- PyObject *self;
- PyObject *args;
+resource_getrlimit(PyObject *self, PyObject *args)
{
struct rlimit rl;
int resource;
@@ -111,9 +107,7 @@ resource_getrlimit(self, args)
}
static PyObject *
-resource_setrlimit(self, args)
- PyObject *self;
- PyObject *args;
+resource_setrlimit(PyObject *self, PyObject *args)
{
struct rlimit rl;
int resource;
@@ -157,9 +151,7 @@ resource_setrlimit(self, args)
}
static PyObject *
-resource_getpagesize(self, args)
- PyObject *self;
- PyObject *args;
+resource_getpagesize(PyObject *self, PyObject *args)
{
if (!PyArg_ParseTuple(args, ":getpagesize"))
return NULL;