mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
Remove unused plymouth_running() function
This commit is contained in:
parent
235ecb6d75
commit
8a2c82ac88
@ -162,7 +162,6 @@ basic_sources = files('''
|
||||
parse-util.h
|
||||
path-util.c
|
||||
path-util.h
|
||||
plymouth-util.c
|
||||
plymouth-util.h
|
||||
prioq.c
|
||||
prioq.h
|
||||
|
@ -1,9 +0,0 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1+ */
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "plymouth-util.h"
|
||||
|
||||
bool plymouth_running(void) {
|
||||
return access("/run/plymouth/pid", F_OK) >= 0;
|
||||
}
|
@ -1,11 +1,7 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1+ */
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#define PLYMOUTH_SOCKET { \
|
||||
.un.sun_family = AF_UNIX, \
|
||||
.un.sun_path = "\0/org/freedesktop/plymouthd", \
|
||||
}
|
||||
|
||||
bool plymouth_running(void);
|
||||
|
Loading…
Reference in New Issue
Block a user