From: Sven Eden Date: Tue, 25 Jul 2017 09:41:55 +0000 (+0200) Subject: Prep v234: Apply missing upstream fixes in src/libelogind (2/6) X-Git-Tag: chiark/234.4-1+devuan1.1+iwj1~63 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3ff66cca1cae924f9b6bd4dae3587dd854c77a16;p=elogind.git Prep v234: Apply missing upstream fixes in src/libelogind (2/6) --- diff --git a/src/libelogind/libelogind.sym b/src/libelogind/libelogind.sym index a203f08c3..55f6a80bd 100644 --- a/src/libelogind/libelogind.sym +++ b/src/libelogind/libelogind.sym @@ -477,16 +477,13 @@ global: sd_peer_get_cgroup; } LIBSYSTEMD_222; -/* - * These methods are not needed by elogind. - * LIBSYSTEMD_227 { - * global: - * sd_bus_default_flush_close; - * sd_bus_path_decode_many; - * sd_bus_path_encode_many; - * sd_listen_fds_with_names; - * } LIBSYSTEMD_226; -*/ +LIBSYSTEMD_227 { +global: + /* sd_bus_default_flush_close; */ + /* sd_bus_path_decode_many; */ + /* sd_bus_path_encode_many; */ + sd_listen_fds_with_names; +} LIBSYSTEMD_226; /* * These methods are not needed by elogind. @@ -511,7 +508,7 @@ global: LIBSYSTEMD_231 { global: sd_event_get_iteration; -} LIBSYSTEMD_226; +} LIBSYSTEMD_227; LIBSYSTEMD_232 { global: diff --git a/src/libelogind/sd-daemon/sd-daemon.c b/src/libelogind/sd-daemon/sd-daemon.c index 26a0a7e52..e58302458 100644 --- a/src/libelogind/sd-daemon/sd-daemon.c +++ b/src/libelogind/sd-daemon/sd-daemon.c @@ -44,7 +44,6 @@ #define SNDBUF_SIZE (8*1024*1024) -#if 0 /// UNNEEDED by elogind static void unsetenv_all(bool unset_environment) { if (!unset_environment) @@ -146,6 +145,7 @@ _public_ int sd_listen_fds_with_names(int unset_environment, char ***names) { return n_fds; } +#if 0 /// UNNEEDED by elogind _public_ int sd_is_fifo(int fd, const char *path) { struct stat st_fd;