diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-29 21:05:40 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-29 21:25:12 +0900 |
commit | 9857de4f1cc798fbebc6c1e4093ff37051c4adc4 (patch) | |
tree | cfcf964cb5a9522c40d12b4b89f918ce6ad7b138 /src/libsystemd | |
parent | 9857bc4cea983e49b291f8ecf592c8e54b5cb36f (diff) | |
download | systemd-9857de4f1cc798fbebc6c1e4093ff37051c4adc4.tar.gz |
libsystemd: add missing _public_ attributes
Diffstat (limited to 'src/libsystemd')
-rw-r--r-- | src/libsystemd/sd-daemon/sd-daemon.c | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-event/sd-event.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-daemon/sd-daemon.c b/src/libsystemd/sd-daemon/sd-daemon.c index eec6fb64ef..34525b0a7b 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 a12d5e1a5a..73731294fb 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 |