Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 1995 09:33:19 -0800
From:      Faried Nawaz <fn@pain.csrv.uidaho.edu>
To:        jkh@freebsd.org
Subject:   python port change.
Message-ID:  <199511251733.JAA11014@pain.csrv.uidaho.edu>
Resent-Message-ID: <12675.817320491@time.cdrom.com>

next in thread | raw e-mail | index | archive | help
hi,

while compiling the python port on a -current machine, i noticed

cc -O -I./../Include -I.. -DHAVE_CONFIG_H  -c ./nismodule.c
In file included from ./nismodule.c:17:
/usr/include/rpcsvc/ypclnt.h:66: warning: `struct dom_binding' declared inside parameter list
/usr/include/rpcsvc/ypclnt.h:66: warning: its scope is only this definition or declaration,
/usr/include/rpcsvc/ypclnt.h:66: warning: which is probably not what you want.

i fixed it by

*** Modules/nismodule.c~	Sat Nov 25 09:31:38 1995
--- Modules/nismodule.c	Sat Nov 25 09:31:51 1995
***************
*** 14,24 ****
  #include "modsupport.h"
  #include "ceval.h"
  
- #include <rpcsvc/ypclnt.h>
  #include <sys/time.h>
  #include <sys/types.h>
  #include <rpc/rpc.h>
  #include <rpcsvc/yp_prot.h>
  
  static object *NisError;
  
--- 14,24 ----
  #include "modsupport.h"
  #include "ceval.h"
  
  #include <sys/time.h>
  #include <sys/types.h>
  #include <rpc/rpc.h>
  #include <rpcsvc/yp_prot.h>
+ #include <rpcsvc/ypclnt.h>
  
  static object *NisError;


this probably should be reported to the python author as well.


faried.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511251733.JAA11014>