Mark all symbols hidden by default, export only required ones

This commit is contained in:
Vitaliy Filippov
2025-08-24 16:55:58 +03:00
parent 9892fccfb0
commit 2ebe3a468c
25 changed files with 60 additions and 18 deletions
+2 -2
View File
@@ -135,7 +135,7 @@ Output:
*/
struct blockstore_op_t
struct __attribute__ ((visibility("default"))) blockstore_op_t
{
// operation
uint64_t opcode = 0;
@@ -173,7 +173,7 @@ typedef std::map<std::string, std::string> blockstore_config_t;
class blockstore_impl_t;
class blockstore_t
class __attribute__((visibility("default"))) blockstore_t
{
blockstore_impl_t *impl;
public:
+1 -1
View File
@@ -301,7 +301,7 @@ static int bs_invalidate(struct thread_data *td, struct fio_file *f)
return 0;
}
struct ioengine_ops ioengine = {
struct ioengine_ops __attribute__((visibility("default"))) ioengine = {
.name = "vitastor_blockstore",
.version = FIO_IOOPS_VERSION,
.flags = FIO_MEMALIGN | FIO_DISKLESSIO | FIO_NOEXTEND,