1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

acl-util: make acl_find_uid() static

This commit is contained in:
Yu Watanabe 2025-02-27 11:07:17 +09:00
parent 290fe11ad8
commit 4371b398f5
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,7 @@
#if HAVE_ACL
int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *ret_entry) {
static int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *ret_entry) {
acl_entry_t i;
int r;

View File

@ -14,7 +14,6 @@ int fd_acl_make_writable_fallback(int fd);
#include "macro.h"
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 add_base_acls_if_needed(acl_t *acl_p, const char *path);
int acl_search_groups(const char* path, char ***ret_groups);