diff --git a/src/modules/Yp/yp.c b/src/modules/Yp/yp.c index d62d40cedd18695625cd94b9a81a9ca12ce6fc20..90f4726174ceb232ec0f7e9d2335a34d7bd73b61 100644 --- a/src/modules/Yp/yp.c +++ b/src/modules/Yp/yp.c @@ -14,8 +14,8 @@ #ifdef HAVE_RPC_CLNT_H #include <rpc/clnt.h> #endif /* HAVE_RPC_CLNT_H */ -#include <rpcsvc/ypclnt.h> #include <rpcsvc/yp_prot.h> +#include <rpcsvc/ypclnt.h> #include "stralloc.h" #include "error.h" @@ -28,7 +28,7 @@ #include "builtin_functions.h" #include "module_support.h" -RCSID("$Id: yp.c,v 1.13 1998/05/23 12:47:11 grubba Exp $"); +RCSID("$Id: yp.c,v 1.14 1998/08/08 13:56:56 grubba Exp $"); #define YPERROR(fun,err) do{ if(err) error("yp->%s(): %s\n", (fun), \ yperr_string(err)); }while(0) @@ -157,7 +157,7 @@ void f_map(INT32 args) static void f_order(INT32 args) { int err; - unsigned long ret; + YP_ORDER_TYPE ret; check_all_args("yp->order", args, BIT_STRING, 0);