From: Lennart Poettering Date: Tue, 21 Jan 2020 17:08:27 +0000 (+0100) Subject: core: drop _pure_ from static functions X-Git-Tag: v245-rc1~16^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=219f3cd94106033f4d7081fbb0891439197b6052;p=thirdparty%2Fsystemd.git core: drop _pure_ from static functions For static functions the compiler should figure this out on its own. --- diff --git a/src/core/mount.c b/src/core/mount.c index 668c4d7e895..cf19af10b14 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)