chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use #pragma once instead of foo*foo define guards
[elogind.git]
/
src
/
shared
/
acl-util.h
diff --git
a/src/shared/acl-util.h
b/src/shared/acl-util.h
index 9f11636aa105b38e5780d1a77ce034b798624a10..36ef490d7eb92fe567d2fcb44f1ef10c434ea1b7 100644
(file)
--- a/
src/shared/acl-util.h
+++ b/
src/shared/acl-util.h
@@
-1,7
+1,6
@@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef fooaclutilhfoo
-#define fooaclutilhfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-22,6
+21,8
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry);
+#include <stdbool.h>
-#endif
+int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry);
+int calc_acl_mask_if_needed(acl_t *acl_p);
+int search_acl_groups(char*** dst, const char* path, bool* belong);