From 219f3cd94106033f4d7081fbb0891439197b6052 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 21 Jan 2020 18:08:27 +0100 Subject: [PATCH] core: drop _pure_ from static functions For static functions the compiler should figure this out on its own. --- src/core/mount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/mount.c b/src/core/mount.c index 668c4d7e89..cf19af10b1 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -217,7 +217,7 @@ static void mount_done(Unit *u) { m->timer_event_source = sd_event_source_unref(m->timer_event_source); } -_pure_ static MountParameters* get_mount_parameters_fragment(Mount *m) { +static MountParameters* get_mount_parameters_fragment(Mount *m) { assert(m); if (m->from_fragment) @@ -226,7 +226,7 @@ _pure_ static MountParameters* get_mount_parameters_fragment(Mount *m) { return NULL; } -_pure_ static MountParameters* get_mount_parameters(Mount *m) { +static MountParameters* get_mount_parameters(Mount *m) { assert(m); if (m->from_proc_self_mountinfo)