$OpenBSD: patch-Modules_nismodule_c,v 1.1 2003/12/30 17:05:30 sturm Exp $
--- Modules/nismodule.c.orig	2003-12-29 20:24:28.000000000 +0100
+++ Modules/nismodule.c	2003-12-29 20:25:19.000000000 +0100
@@ -68,7 +68,7 @@ nis_mapname (char *map, int *pfix)
 	return map;
 }
 
-typedef int (*foreachfunc)(int, char *, int, char *, int, char *);
+typedef int (*foreachfunc)(u_long, char *, int, char *, int, void *);
 
 struct ypcallback_data {
 	PyObject	*dict;
