diff options
author | Topi Miettinen <topimiettinen@users.noreply.github.com> | 2019-01-15 08:12:28 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-01-15 08:12:28 +0100 |
commit | a1e92eee3e928e33942b35f308621af0d43e91c8 (patch) | |
tree | 7fa341b06dc2c64a1e318e661939c6f98dedbad4 /src/journal-remote | |
parent | Merge pull request #11417 from yuwata/fix-11416 (diff) | |
download | systemd-a1e92eee3e928e33942b35f308621af0d43e91c8.tar.xz systemd-a1e92eee3e928e33942b35f308621af0d43e91c8.zip |
Remove 'inline' attributes from static functions in .c files (#11426)
Let the compiler perform inlining (see #11397).
Diffstat (limited to 'src/journal-remote')
-rw-r--r-- | src/journal-remote/journal-upload-journal.c | 2 | ||||
-rw-r--r-- | src/journal-remote/microhttpd-util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/journal-upload-journal.c b/src/journal-remote/journal-upload-journal.c index be39f7c047..7d7e7384bf 100644 --- a/src/journal-remote/journal-upload-journal.c +++ b/src/journal-remote/journal-upload-journal.c @@ -235,7 +235,7 @@ static ssize_t write_entry(char *buf, size_t size, Uploader *u) { assert_not_reached("WTF?"); } -static inline void check_update_watchdog(Uploader *u) { +static void check_update_watchdog(Uploader *u) { usec_t after; usec_t elapsed_time; diff --git a/src/journal-remote/microhttpd-util.c b/src/journal-remote/microhttpd-util.c index 6d049d11f7..5f5691995d 100644 --- a/src/journal-remote/microhttpd-util.c +++ b/src/journal-remote/microhttpd-util.c @@ -244,7 +244,7 @@ static int get_auth_dn(gnutls_x509_crt_t client_cert, char **buf) { return 0; } -static inline void gnutls_x509_crt_deinitp(gnutls_x509_crt_t *p) { +static void gnutls_x509_crt_deinitp(gnutls_x509_crt_t *p) { gnutls_x509_crt_deinit(*p); } |