mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-08-31 23:31:56 +00:00
libs: lint fix
This commit is contained in:
@@ -71,7 +71,7 @@ u8 *us_memsinksh_get_data(us_memsink_shared_s *mem) {
|
||||
return (u8*)(mem) + sizeof(us_memsink_shared_s);
|
||||
}
|
||||
|
||||
bool us_memsinksh_has_clients(us_memsink_shared_s *mem, u32 ttl) {
|
||||
bool us_memsinksh_has_clients(const us_memsink_shared_s *mem, u32 ttl) {
|
||||
return (
|
||||
mem->client_magic == US_MEMSINK_MAGIC
|
||||
&& mem->last_client_ts + ttl > us_get_now_monotonic()
|
||||
|
||||
@@ -57,4 +57,4 @@ int us_memsinksh_unmap(us_memsink_shared_s *mem, uz data_size);
|
||||
|
||||
uz us_memsinksh_calculate_size(const char *obj);
|
||||
u8 *us_memsinksh_get_data(us_memsink_shared_s *mem);
|
||||
bool us_memsinksh_has_clients(us_memsink_shared_s *mem, u32 ttl);
|
||||
bool us_memsinksh_has_clients(const us_memsink_shared_s *mem, u32 ttl);
|
||||
|
||||
Reference in New Issue
Block a user