Branch: Tag:

1998-08-08

1998-08-08 13:56:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Reordered the includes of <rpcsvc/yp_prot.h> and <rpcsvc/ypclnt.h>
to avoid warning on FreeBSD.

Rev: src/modules/Yp/yp.c:1.14

14:   #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:   #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:   static void f_order(INT32 args)   {    int err; -  unsigned long ret; +  YP_ORDER_TYPE ret;       check_all_args("yp->order", args, BIT_STRING, 0);