From 5cc61b382539f76e7e6c0dc499cef2226b1d8767 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 14 Nov 2005 06:42:44 +0000 Subject: 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) --- source3/include/libsmbclient.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source3/include/libsmbclient.h') 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 -- cgit