mirror of
https://github.com/python/cpython.git
synced 2026-05-17 18:08:50 -04:00
#6420: Fix a compilation warning in the nis module, for OpenBSD and FreeBSD.
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ nis_mapname (char *map, int *pfix)
|
||||
return map;
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||
typedef int (*foreachfunc)(unsigned long, char *, int, char *, int, void *);
|
||||
#else
|
||||
typedef int (*foreachfunc)(int, char *, int, char *, int, char *);
|
||||
|
||||
Reference in New Issue
Block a user