Remove 'inline' attributes from static functions in .c files (#11426)
Let the compiler perform inlining (see #11397).
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
1c8e48f506
commit
a1e92eee3e
@@ -134,11 +134,11 @@ const sd_bus_vtable bus_socket_vtable[] = {
|
||||
SD_BUS_VTABLE_END
|
||||
};
|
||||
|
||||
static inline bool check_size_t_truncation(uint64_t t) {
|
||||
static bool check_size_t_truncation(uint64_t t) {
|
||||
return (size_t) t == t;
|
||||
}
|
||||
|
||||
static inline const char* socket_protocol_to_string(int32_t i) {
|
||||
static const char* socket_protocol_to_string(int32_t i) {
|
||||
if (i == IPPROTO_IP)
|
||||
return "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user