1
0
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:
Zbigniew Jędrzejewski-Szmek 2019-10-23 22:56:24 +02:00
parent 235ecb6d75
commit 8a2c82ac88
3 changed files with 0 additions and 14 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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);