summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-11-14 06:42:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:25 -0500
commit5cc61b382539f76e7e6c0dc499cef2226b1d8767 (patch)
tree42d78f1de4a21430161878cdd8e31c8afeff6a05 /source3/include
parent4c8fc93905e89e2c3efa1002ad8fbc2a78fe51e8 (diff)
downloadsamba-5cc61b382539f76e7e6c0dc499cef2226b1d8767.tar.gz
samba-5cc61b382539f76e7e6c0dc499cef2226b1d8767.tar.bz2
samba-5cc61b382539f76e7e6c0dc499cef2226b1d8767.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. (This used to be commit 6e1cb7047aae80523a53d5552a4f704cd6e62997)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/libsmbclient.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index 46896d68e4..6d3a0cda09 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/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