tree-wide: drop "static inline" use in .c files

"static inline" makes sense in .h files. But in .c files it's useless
decoration, the compiler should just make its own decisions there, and
it can do that.

hence, replace all remaining uses of "static line" by a simple" static"
in all .c files (but keep them in .h files, where they make sense)
This commit is contained in:
Lennart Poettering
2023-08-21 23:15:12 +02:00
parent 252adedaaf
commit cf1ab844a9
16 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -415,7 +415,7 @@ int systemd_efi_options_variable(char **ret) {
return r;
}
static inline int compare_stat_mtime(const struct stat *a, const struct stat *b) {
static int compare_stat_mtime(const struct stat *a, const struct stat *b) {
return CMP(timespec_load(&a->st_mtim), timespec_load(&b->st_mtim));
}