summaryrefslogtreecommitdiffstats
path: root/Modules/grpmodule.c
diff options
context:
space:
mode:
authorRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>1996-12-18 19:56:48 (GMT)
committerRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>1996-12-18 19:56:48 (GMT)
commitcfe3b61c02e86b33149c3e2b95650480f053c365 (patch)
treea04cc1b4ebb32c1544230d6c56eb5666da993846 /Modules/grpmodule.c
parenta09ec19a332de34de493b2c4da2b89b46fadc370 (diff)
downloadcpython-cfe3b61c02e86b33149c3e2b95650480f053c365.zip
cpython-cfe3b61c02e86b33149c3e2b95650480f053c365.tar.gz
cpython-cfe3b61c02e86b33149c3e2b95650480f053c365.tar.bz2
Opps, left out two defines needed for argument parsing.
Diffstat (limited to 'Modules/grpmodule.c')
-rw-r--r--Modules/grpmodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/grpmodule.c b/Modules/grpmodule.c
index 2fcc5aa..23f28f5 100644
--- a/Modules/grpmodule.c
+++ b/Modules/grpmodule.c
@@ -36,6 +36,9 @@ PERFORMANCE OF THIS SOFTWARE.
#include <sys/types.h>
#include <grp.h>
+#define getintarg(v,a) PyArg_Parse((v),"i",(a))
+#define getstrarg(v,a) PyArg_Parse((v),"s",(a))
+
static PyObject *mkgrent(p)
struct group *p;
{