summaryrefslogtreecommitdiff
path: root/core/systemd/0001-login-add-missing-_public_-to-sd_get_machine_names.patch
blob: dee8e549e87a03812ed815e72031f5553f169c59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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