0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-23 21:33:44 +02:00

ircd:Ⓜ️:event::fetch: Use hidden section for non-plt/internal linkage.

This commit is contained in:
Jason Volk 2020-08-02 09:23:18 -07:00
parent 45f43dd46a
commit 9eed4dfa5f
2 changed files with 5 additions and 1 deletions

View file

@ -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);

View file

@ -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)
{