mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 15:04:10 +01:00
ircd:Ⓜ️:event::fetch: Use hidden section for non-plt/internal linkage.
This commit is contained in:
parent
45f43dd46a
commit
9eed4dfa5f
2 changed files with 5 additions and 1 deletions
|
@ -56,8 +56,8 @@ struct ircd::m::event::fetch
|
|||
bool valid;
|
||||
id::buf event_id_buf;
|
||||
|
||||
static string_view key(const event::idx *const &);
|
||||
static bool should_seek_json(const opts &);
|
||||
static string_view key(const event::idx *const &);
|
||||
bool assign_from_row(const string_view &key);
|
||||
bool assign_from_json(const string_view &key);
|
||||
|
||||
|
|
|
@ -258,6 +258,7 @@ ircd::m::event::fetch::fetch(const opts &opts)
|
|||
{
|
||||
}
|
||||
|
||||
[[gnu::visibility("hidden")]]
|
||||
bool
|
||||
ircd::m::event::fetch::assign_from_json(const string_view &key)
|
||||
try
|
||||
|
@ -321,6 +322,7 @@ catch(const json::parse_error &e)
|
|||
return false;
|
||||
}
|
||||
|
||||
[[gnu::visibility("hidden")]]
|
||||
bool
|
||||
ircd::m::event::fetch::assign_from_row(const string_view &key)
|
||||
try
|
||||
|
@ -379,6 +381,7 @@ catch(const json::parse_error &e)
|
|||
return false;
|
||||
}
|
||||
|
||||
[[gnu::visibility("hidden")]]
|
||||
bool
|
||||
ircd::m::event::fetch::should_seek_json(const opts &opts)
|
||||
{
|
||||
|
@ -398,6 +401,7 @@ ircd::m::event::fetch::should_seek_json(const opts &opts)
|
|||
return false;
|
||||
}
|
||||
|
||||
[[gnu::visibility("hidden")]]
|
||||
ircd::string_view
|
||||
ircd::m::event::fetch::key(const event::idx *const &event_idx)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue