summaryrefslogtreecommitdiff
path: root/modules/qacl
diff options
context:
space:
mode:
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>2015-04-12 16:36:36 +0200
committerPádraig Brady <P@draigBrady.com>2015-04-15 18:30:20 +0100
commita09a0344e3282d8b4a927916cf117ba5c1472bdd (patch)
treeb43ebaaf1ea76b98aeb8de8befd41de05d0414b2 /modules/qacl
parent6c4ac1b6651dd4d19abf1f3f758cd569b96ee968 (diff)
downloadgnulib-a09a0344e3282d8b4a927916cf117ba5c1472bdd.tar.gz
acl, qacl: split off shared functions into separate object file
Some of the helper functions in file-has-acl.c are used from qcopy-acl.c while file_has_acl() isn't needed there. Split the shared functions off into acl-internal.c. * lib/file-has-acl.c: Remove helper functions here. * lib/acl-internal.c: Add helper functions here. * modules/qacl: Use acl-internal.c instead of file-has-acl.c here. * modules/acl: Add file-has-acl.c now that qacl doesn't use it anymore.
Diffstat (limited to 'modules/qacl')
-rw-r--r--modules/qacl4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/qacl b/modules/qacl
index 78da6e112a..bc7382b4ef 100644
--- a/modules/qacl
+++ b/modules/qacl
@@ -6,7 +6,7 @@ lib/acl.h
lib/acl-internal.h
lib/acl-errno-valid.c
lib/acl_entries.c
-lib/file-has-acl.c
+lib/acl-internal.c
lib/qcopy-acl.c
lib/qset-acl.c
m4/acl.m4
@@ -21,7 +21,7 @@ configure.ac:
gl_FUNC_ACL
Makefile.am:
-lib_SOURCES += acl-errno-valid.c file-has-acl.c qcopy-acl.c qset-acl.c
+lib_SOURCES += acl-errno-valid.c acl-internal.c qcopy-acl.c qset-acl.c
Include:
"acl.h"