diff options
author | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-07-10 13:12:27 (GMT) |
---|---|---|
committer | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-07-10 13:12:27 (GMT) |
commit | 39e0e5a180eb6c64a03806c18838d0083cc9f6f7 (patch) | |
tree | e868e53f968d3ae80024c59d481d8ff82105778b /Modules/pwdmodule.c | |
parent | 7d0c71ac8c56de9d8547a37c3e6bbce4f8e943d3 (diff) | |
download | cpython-39e0e5a180eb6c64a03806c18838d0083cc9f6f7.zip cpython-39e0e5a180eb6c64a03806c18838d0083cc9f6f7.tar.gz cpython-39e0e5a180eb6c64a03806c18838d0083cc9f6f7.tar.bz2 |
ANSI-fication
Diffstat (limited to 'Modules/pwdmodule.c')
-rw-r--r-- | Modules/pwdmodule.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c index cfb2c03..c03dce8 100644 --- a/Modules/pwdmodule.c +++ b/Modules/pwdmodule.c @@ -27,8 +27,7 @@ exception is raised if the entry asked for cannot be found."; static PyObject * -mkpwent(p) - struct passwd *p; +mkpwent(struct passwd *p) { #ifdef __BEOS__ /* For faking the GECOS field. - [cjh] */ @@ -66,9 +65,7 @@ Return the password database entry for the given numeric user ID.\n\ See pwd.__doc__ for more on password database entries."; static PyObject * -pwd_getpwuid(self, args) - PyObject *self; - PyObject *args; +pwd_getpwuid(PyObject *self, PyObject *args) { int uid; struct passwd *p; @@ -87,9 +84,7 @@ Return the password database entry for the given user name.\n\ See pwd.__doc__ for more on password database entries."; static PyObject * -pwd_getpwnam(self, args) - PyObject *self; - PyObject *args; +pwd_getpwnam(PyObject *self, PyObject *args) { char *name; struct passwd *p; @@ -110,9 +105,7 @@ in arbitrary order.\n\ See pwd.__doc__ for more on password database entries."; static PyObject * -pwd_getpwall(self, args) - PyObject *self; - PyObject *args; +pwd_getpwall(PyObject *self, PyObject *args) { PyObject *d; struct passwd *p; |