diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-04-23 10:17:27 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-04-23 12:07:35 +0200 |
commit | 64e7fba1be0d2897c5cee40b41f869bd9e5b272a (patch) | |
tree | 393933625aebd1e06f53c067023dd451779e4bd0 | |
parent | 1cf715ed214809bd43e8f5be829f65bf37686980 (diff) | |
download | samba-64e7fba1be0d2897c5cee40b41f869bd9e5b272a.tar.gz samba-64e7fba1be0d2897c5cee40b41f869bd9e5b272a.tar.bz2 samba-64e7fba1be0d2897c5cee40b41f869bd9e5b272a.zip |
s3:include/vfs.h: remove very old hints for vfs modules with interface version < 8
The interface version is at 28 now, and this defines cause problem
on some systems, e.g. Tru64 defines vfs_init in the system headers.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Apr 23 12:07:35 CEST 2011 on sn-devel-104
-rw-r--r-- | source3/include/vfs.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 28d6c38d1d..185bc7687c 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -136,14 +136,6 @@ /* Leave at 28 - not yet released. Rename open function to open_fn. - gd */ #define SMB_VFS_INTERFACE_VERSION 28 - -/* to bug old modules which are trying to compile with the old functions */ -#define vfs_init __ERROR_please_port_this_module_to_SMB_VFS_INTERFACE_VERSION_8_donot_use_vfs_init_anymore(void) { __ERROR_please_port_this_module_to_SMB_VFS_INTERFACE_VERSION_8_donot_use_vfs_init_anymore }; -#define lp_parm_string __ERROR_please_port_lp_parm_string_to_lp_parm_const_string_or_lp_parm_talloc_string { \ - __ERROR_please_port_lp_parm_string_to_lp_parm_const_string_or_lp_parm_talloc_string }; -#define lp_vfs_options __ERROR_please_donot_use_lp_vfs_options_anymore_use_lp_parm_xxxx_functions_instead { \ - __ERROR_please_donot_use_lp_vfs_options_anymore_use_lp_parm_xxxx_functions_instead }; - /* All intercepted VFS operations must be declared as static functions inside module source in order to keep smbd namespace unpolluted. See source of audit, extd_audit, fake_perms and recycle |