1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r11719: 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.
(This used to be commit 6e1cb7047a)
This commit is contained in:
Jeremy Allison 2005-11-14 06:42:44 +00:00 committed by Gerald (Jerry) Carter
parent 4c8fc93905
commit 5cc61b3825

View File

@ -339,13 +339,6 @@ typedef int (*smbc_remove_cached_srv_fn)(SMBCCTX * c, SMBCSRV *srv);
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
/**@ingroup structure
* Structure that contains a client context information
* This structure is know as SMBCCTX