diff options
author | Jeremy Allison <jra@samba.org> | 2005-11-14 06:42:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:25 -0500 |
commit | 6e1cb7047aae80523a53d5552a4f704cd6e62997 (patch) | |
tree | ebacc026e9b5df6eefb7a1b14a90f37ddbe3c44a | |
parent | 61444049e1543b364eea2ee79743287c75d37db5 (diff) | |
download | samba-6e1cb7047aae80523a53d5552a4f704cd6e62997.tar.gz samba-6e1cb7047aae80523a53d5552a4f704cd6e62997.tar.xz samba-6e1cb7047aae80523a53d5552a4f704cd6e62997.zip |
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.
-rw-r--r-- | source/include/libsmbclient.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/include/libsmbclient.h b/source/include/libsmbclient.h index 46896d68e48..6d3a0cda09d 100644 --- a/source/include/libsmbclient.h +++ b/source/include/libsmbclient.h @@ -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 |