Remove 'inline' attributes from static functions in .c files (#11426)

Let the compiler perform inlining (see #11397).
This commit is contained in:
Topi Miettinen
2019-01-15 08:12:28 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 1c8e48f506
commit a1e92eee3e
21 changed files with 32 additions and 32 deletions
+2 -2
View File
@@ -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 "";