From: Yu Watanabe Date: Sat, 29 Apr 2023 12:05:40 +0000 (+0900) Subject: libsystemd: add missing _public_ attributes X-Git-Tag: v254-rc1~581^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9857de4f1cc798fbebc6c1e4093ff37051c4adc4;p=thirdparty%2Fsystemd.git libsystemd: add missing _public_ attributes --- diff --git a/src/libsystemd/sd-daemon/sd-daemon.c b/src/libsystemd/sd-daemon/sd-daemon.c index eec6fb64efe..34525b0a7b7 100644 --- a/src/libsystemd/sd-daemon/sd-daemon.c +++ b/src/libsystemd/sd-daemon/sd-daemon.c @@ -667,7 +667,7 @@ _public_ int sd_notifyf(int unset_environment, const char *format, ...) { return sd_pid_notify(0, unset_environment, p); } -int sd_pid_notifyf_with_fds( +_public_ int sd_pid_notifyf_with_fds( pid_t pid, int unset_environment, const int *fds, size_t n_fds, diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c index a12d5e1a5a5..73731294fb3 100644 --- a/src/libsystemd/sd-event/sd-event.c +++ b/src/libsystemd/sd-event/sd-event.c @@ -1872,7 +1872,7 @@ _public_ int sd_event_add_exit( return 0; } -int sd_event_trim_memory(void) { +_public_ int sd_event_trim_memory(void) { int r; /* A default implementation of a memory pressure callback. Simply releases our own allocation caches