svn commit: samba r2133 - in branches/SAMBA_3_0/source: include libmodules printing rpc_server rpcclient

Doug VanLeuven roamdad at sonic.net
Tue Aug 31 21:55:27 GMT 2004


The switch in definition order with ypclint.h ahead of yp_prot.h causes 
my AIX 5.2 to come up with
Compiling smbd/blocking.c
In file included from include/includes.h:373,
                 from smbd/blocking.c:21:
/usr/include/rpcsvc/ypclnt.h:99: warning: `struct dom_binding' declared 
inside parameter list
/usr/include/rpcsvc/ypclnt.h:99: warning: its scope is only this 
definition or declaration, which is probably not what you want.

It goes away if I switch it back.

Regards, Doug

Index: source/include/includes.h
===================================================================
--- source/include/includes.h	(revision 2132)
+++ source/include/includes.h	(revision 2133)
@@ -369,12 +369,12 @@
 #endif
 
 #if defined (HAVE_NETGROUP)
+#if defined(HAVE_RPCSVC_YPCLNT_H)
+#include <rpcsvc/ypclnt.h>
+#endif
 #if defined(HAVE_RPCSVC_YP_PROT_H)
 #include <rpcsvc/yp_prot.h>
 #endif
-#if defined(HAVE_RPCSVC_YPCLNT_H)
-#include <rpcsvc/ypclnt.h>
-#endif
 #endif /* HAVE_NETGROUP */
 
 #if defined(HAVE_SYS_IPC_H)



Reilly, John R. (ProCurve Networking) wrote:

>* BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 and 5.1
>  patch from Olaf Flebbe <o.flebbe at science-computing.de>.  
>  Will need to watch this one in the build farm.
>
>Modified:
>   branches/SAMBA_3_0/source/include/includes.h
>
>  
>


More information about the samba-technical mailing list