vfs_not_implemented: do not mark structs with _PUBLIC_
commitad9a414147aa8699a84d930fb322b2a6b4f32e78
authorMartin Schwenke <martin@meltin.net>
Tue, 15 Feb 2022 21:44:40 +0000 (16 08:44 +1100)
committerVolker Lendecke <vl@samba.org>
Thu, 17 Feb 2022 18:12:52 +0000 (17 18:12 +0000)
tree81b0efdb2ccce4147854068f1a4ff767e822c8b7
parent98594d3328422a17b8d7b8639029910f21573cc5
vfs_not_implemented: do not mark structs with _PUBLIC_

Commit 5d295e41af4e9316aee1b4cf1c3087663b7c06a4 accidentally marked
some structs with _PUBLIC_, which causes clang to complain:

../../source3/modules/vfs_not_implemented.c:594:1: error: attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
_PUBLIC_
^
../../lib/replace/replace.h:917:33: note: expanded from macro '_PUBLIC_'
                                ^
../../source3/modules/vfs_not_implemented.c:642:1: error: attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
_PUBLIC_
^
../../lib/replace/replace.h:917:33: note: expanded from macro '_PUBLIC_'
                                ^

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_not_implemented.c