Mark all symbols hidden by default, export only required ones
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user