diff options
author | Topi Miettinen <topimiettinen@users.noreply.github.com> | 2019-01-15 09:12:28 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-01-15 08:12:28 +0100 |
commit | a1e92eee3e928e33942b35f308621af0d43e91c8 (patch) | |
tree | 7fa341b06dc2c64a1e318e661939c6f98dedbad4 /src/coredump | |
parent | 1c8e48f50661504e6b74a0eeaa3336f54e1e4238 (diff) | |
download | systemd-a1e92eee3e928e33942b35f308621af0d43e91c8.tar.gz |
Remove 'inline' attributes from static functions in .c files (#11426)
Let the compiler perform inlining (see #11397).
Diffstat (limited to 'src/coredump')
-rw-r--r-- | src/coredump/coredump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c index 516f63d3e0..ecbb4bffc9 100644 --- a/src/coredump/coredump.c +++ b/src/coredump/coredump.c @@ -142,7 +142,7 @@ static int parse_config(void) { CONFIG_PARSE_WARN, NULL); } -static inline uint64_t storage_size_max(void) { +static uint64_t storage_size_max(void) { if (arg_storage == COREDUMP_STORAGE_EXTERNAL) return arg_external_size_max; if (arg_storage == COREDUMP_STORAGE_JOURNAL) @@ -229,7 +229,7 @@ static int fix_xattr(int fd, const char *context[_CONTEXT_MAX]) { #define filename_escape(s) xescape((s), "./ ") -static inline const char *coredump_tmpfile_name(const char *s) { +static const char *coredump_tmpfile_name(const char *s) { return s ? s : "(unnamed temporary file)"; } |