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:
parent
4c8fc93905
commit
5cc61b3825
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user