diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-08-12 08:37:25 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-08-12 08:38:28 -0400 |
commit | a2c4d71c2e84419a49db503ed59de4d3d1dca7dd (patch) | |
tree | 68cf0d2c10eae032d52bad7e6489fe04e22d6952 /include | |
parent | 809584283a3ce5b0250656faefb23a821782adbe (diff) | |
download | acl-a2c4d71c2e84419a49db503ed59de4d3d1dca7dd.tar.gz |
add __acl_ prefixes to internal symbols
When static linking libacl, people sometimes run into symbol collisions
because their own code defines symbols like "quote". So for acl internal
symbols, use an __acl_ prefix.
Diffstat (limited to 'include')
-rw-r--r-- | include/misc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/misc.h b/include/misc.h index f5c0dae..24b65d2 100644 --- a/include/misc.h +++ b/include/misc.h @@ -29,12 +29,12 @@ # define hidden /* hidden */ #endif -hidden int high_water_alloc(void **buf, size_t *bufsize, size_t newsize); +hidden int __acl_high_water_alloc(void **buf, size_t *bufsize, size_t newsize); -hidden const char *quote(const char *str, const char *quote_chars); -hidden char *unquote(char *str); +hidden const char *__acl_quote(const char *str, const char *quote_chars); +hidden char *__acl_unquote(char *str); -hidden char *next_line(FILE *file); +hidden char *__acl_next_line(FILE *file); #ifdef ENABLE_NLS # include <libintl.h> |