warnings: msdfs/msdfs.c smbd/quotas.c

Michael Gerdts Michael.Gerdts at usa.alcatel.com
Wed Jun 27 12:11:35 GMT 2001


On SPARC Solaris 8, compiling from CVS gives the following warnings:

I suspect that the first two may be due to a missing 

	#define _FILE_OFFSET_BITS 64

That seems to make a difference in <sys/stat.h> causing lstat to become
lstat64.

msdfs/msdfs.c:256: warning: passing arg 2 of `lstat' from incompatible pointer type
msdfs/msdfs.c:711: warning: passing arg 2 of `lstat' from incompatible pointer type

Not sure about these

smbd/quotas.c:270: warning: static declaration for `xdr_getquota_args' follows non-static
smbd/quotas.c:279: warning: static declaration for `xdr_getquota_rslt' follows non-static

Mike




More information about the samba-technical mailing list