summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-11 16:39:31 +0200
committerKay Sievers <kay@vrfy.org>2012-04-11 16:47:09 +0200
commit79c077224be5a868d0bba66972ef9546dae85977 (patch)
tree19ca00d028ebfcbb6e67f00458f14a047410c51f /src
parentb30e2f4c18ad81b04e4314fd191a5d458553773c (diff)
put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch]
Diffstat (limited to 'src')
-rw-r--r--src/journal/journald.c2
-rw-r--r--src/login/logind-acl.c2
-rw-r--r--src/shared/acl-util.c (renamed from src/shared/acl.c)2
-rw-r--r--src/shared/acl-util.h (renamed from src/shared/acl.h)0
4 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 073bb890ab..ea23cff26e 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -51,7 +51,7 @@
#ifdef HAVE_ACL
#include <sys/acl.h>
#include <acl/libacl.h>
-#include "acl.h"
+#include "acl-util.h"
#endif
#ifdef HAVE_SELINUX
diff --git a/src/login/logind-acl.c b/src/login/logind-acl.c
index e2e8696cda..eb8a48d191 100644
--- a/src/login/logind-acl.c
+++ b/src/login/logind-acl.c
@@ -27,7 +27,7 @@
#include "logind-acl.h"
#include "util.h"
-#include "acl.h"
+#include "acl-util.h"
static int flush_acl(acl_t acl) {
acl_entry_t i;
diff --git a/src/shared/acl.c b/src/shared/acl-util.c
index d6a80f44ae..a2a9f9a22b 100644
--- a/src/shared/acl.c
+++ b/src/shared/acl-util.c
@@ -25,7 +25,7 @@
#include <errno.h>
#include <stdbool.h>
-#include "acl.h"
+#include "acl-util.h"
int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry) {
acl_entry_t i;
diff --git a/src/shared/acl.h b/src/shared/acl-util.h
index 798ce43364..798ce43364 100644
--- a/src/shared/acl.h
+++ b/src/shared/acl-util.h