mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
core: drop _pure_ from static functions
For static functions the compiler should figure this out on its own.
This commit is contained in:
parent
a7e8855879
commit
219f3cd941
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user