mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
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
This commit is contained in:
parent
1cf715ed21
commit
64e7fba1be
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user