Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r61294:053a010a3247
Date: 2013-02-15 16:21 -0800
http://bitbucket.org/pypy/pypy/changeset/053a010a3247/
Log: quiet ctypes warnings
diff --git a/lib_pypy/grp.py b/lib_pypy/grp.py
--- a/lib_pypy/grp.py
+++ b/lib_pypy/grp.py
@@ -60,6 +60,12 @@
libc.getgrent.argtypes = []
libc.getgrent.restype = POINTER(GroupStruct)
+libc.setgrent.argtypes = []
+libc.setgrent.restype = None
+
+libc.endgrent.argtypes = []
+libc.endgrent.restype = None
+
def _group_from_gstruct(res):
i = 0
mem = []
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit