acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Acl-devel] [PATCH acl] walk_tree: namespace the func name


From: Mike Frysinger
Subject: [Acl-devel] [PATCH acl] walk_tree: namespace the func name
Date: Sat, 19 Sep 2015 03:13:21 -0400

Make sure we have an internal __acl_ prefix so that when we
statically link, we don't export "walk_tree".
---
 include/walk_tree.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/walk_tree.h b/include/walk_tree.h
index 9f1ec34..0c60835 100644
--- a/include/walk_tree.h
+++ b/include/walk_tree.h
@@ -32,6 +32,9 @@
 
 struct stat;
 
+/* Namespace the symbol.  */
+#define walk_tree __acl_walk_tree
+
 extern int walk_tree(const char *path, int walk_flags, unsigned int num,
                     int (*func)(const char *, const struct stat *, int,
                                 void *), void *arg);
-- 
2.5.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]