Here is the next patch:
* Src/Zle/zle_tricky.c: Remove wrong (int (*)(void)) prototype
from match_username cast. Go back to no prototype at all, since
some systems (e.g. on Linux) the yp_callback.foreach prototype
is wrong.
Zoli
*** Src/Zle/zle_tricky.c 1997/09/16 04:43:25 3.1.3.2
--- Src/Zle/zle_tricky.c 1997/09/19 05:46:49 3.1.3.3
***************
*** 1546,1552 ****
data.len = fpl;
/* Get potential matches from NIS and cull those without local accounts */
if (getdomainname(domain, YPMAXDOMAIN) == 0) {
! cb.foreach = (int ((*) _((void)))) match_username;
cb.data = (char *)&data;
yp_all(domain, PASSWD_MAP, &cb);
/* for (n = firstnode(matches); n; incnode(n))
--- 1546,1552 ----
data.len = fpl;
/* Get potential matches from NIS and cull those without local accounts */
if (getdomainname(domain, YPMAXDOMAIN) == 0) {
! cb.foreach = (int (*)()) match_username;
cb.data = (char *)&data;
yp_all(domain, PASSWD_MAP, &cb);
/* for (n = firstnode(matches); n; incnode(n))