diff options
author | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-07-10 12:15:54 (GMT) |
---|---|---|
committer | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-07-10 12:15:54 (GMT) |
commit | 416d413527ed7e9a1a5fe98f94487f6ee4315d2e (patch) | |
tree | e4ce3d7d468161576e9d8a139065875804ab61ce /Modules/resource.c | |
parent | e89b15691e224f7742b72b9e502580a0189659fe (diff) | |
download | cpython-416d413527ed7e9a1a5fe98f94487f6ee4315d2e.zip cpython-416d413527ed7e9a1a5fe98f94487f6ee4315d2e.tar.gz cpython-416d413527ed7e9a1a5fe98f94487f6ee4315d2e.tar.bz2 |
ANSI-fication
Diffstat (limited to 'Modules/resource.c')
-rw-r--r-- | Modules/resource.c | 16 |
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; |