Author: jra Date: 2005-11-14 06:42:44 +0000 (Mon, 14 Nov 2005) New Revision: 11719
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11719 Log: Remove silly #define of close -> close_fn as this borks any code that includes libsmbclient.h that also calls the system close() fn. Doh ! Thanks to John Terpstra for reporting this. Jeremy. Modified: branches/SAMBA_3_0/source/include/libsmbclient.h Changeset: Modified: branches/SAMBA_3_0/source/include/libsmbclient.h =================================================================== --- branches/SAMBA_3_0/source/include/libsmbclient.h 2005-11-14 06:29:48 UTC (rev 11718) +++ branches/SAMBA_3_0/source/include/libsmbclient.h 2005-11-14 06:42:44 UTC (rev 11719) @@ -339,13 +339,6 @@ typedef int (*smbc_purge_cached_fn) (SMBCCTX * c); -/* close was renamed to close_fn, because close is often a macro. - * Allow backward compatability where this is not the case */ -#ifndef close -#define close close_fn -#endif - - /[EMAIL PROTECTED] structure * Structure that contains a client context information * This structure is know as SMBCCTX
