diff options
Diffstat (limited to 'core/systemd/0001-login-add-missing-_public_-to-sd_get_machine_names.patch')
-rw-r--r-- | core/systemd/0001-login-add-missing-_public_-to-sd_get_machine_names.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/systemd/0001-login-add-missing-_public_-to-sd_get_machine_names.patch b/core/systemd/0001-login-add-missing-_public_-to-sd_get_machine_names.patch new file mode 100644 index 000000000..dee8e549e --- /dev/null +++ b/core/systemd/0001-login-add-missing-_public_-to-sd_get_machine_names.patch @@ -0,0 +1,25 @@ +From 4d5fb96252d289e7899bc0bb87262127d19de949 Mon Sep 17 00:00:00 2001 +From: Lennart Poettering <lennart@poettering.net> +Date: Tue, 7 May 2013 12:47:30 +0200 +Subject: [PATCH] login: add missing _public_ to sd_get_machine_names() + +--- + src/login/sd-login.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/login/sd-login.c b/src/login/sd-login.c +index 66c4487..d0dc42f 100644 +--- a/src/login/sd-login.c ++++ b/src/login/sd-login.c +@@ -591,7 +591,7 @@ _public_ int sd_get_uids(uid_t **users) { + return r; + } + +-int sd_get_machine_names(char ***machines) { ++_public_ int sd_get_machine_names(char ***machines) { + _cleanup_closedir_ DIR *d = NULL; + _cleanup_strv_free_ char **l = NULL; + _cleanup_free_ char *md = NULL; +-- +1.8.2.2 + |