diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-11 12:32:46 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:34 -0400 |
commit | 7e399fabd3db2c528b5982803eeba2841f547695 (patch) | |
tree | 7dd5b5bf30e99dd0f622203017bc9364e8a74aab /src/regex | |
parent | b6e59cd925cbe6c0f23cf46828d47e6e7edd17c9 (diff) | |
download | musl-7e399fabd3db2c528b5982803eeba2841f547695.tar.gz musl-7e399fabd3db2c528b5982803eeba2841f547695.tar.bz2 musl-7e399fabd3db2c528b5982803eeba2841f547695.tar.xz musl-7e399fabd3db2c528b5982803eeba2841f547695.zip |
apply hidden visibility to various remaining internal interfaces
Diffstat (limited to 'src/regex')
-rw-r--r-- | src/regex/tre.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/tre.h b/src/regex/tre.h index 67cb9a84..9aae851f 100644 --- a/src/regex/tre.h +++ b/src/regex/tre.h @@ -191,9 +191,9 @@ typedef struct tre_mem_struct { #define tre_mem_alloc_impl __tre_mem_alloc_impl #define tre_mem_destroy __tre_mem_destroy -tre_mem_t tre_mem_new_impl(int provided, void *provided_block); -void *tre_mem_alloc_impl(tre_mem_t mem, int provided, void *provided_block, - int zero, size_t size); +hidden tre_mem_t tre_mem_new_impl(int provided, void *provided_block); +hidden void *tre_mem_alloc_impl(tre_mem_t mem, int provided, void *provided_block, + int zero, size_t size); /* Returns a new memory allocator or NULL if out of memory. */ #define tre_mem_new() tre_mem_new_impl(0, NULL) @@ -222,7 +222,7 @@ void *tre_mem_alloc_impl(tre_mem_t mem, int provided, void *provided_block, /* Frees the memory allocator and all memory allocated with it. */ -void tre_mem_destroy(tre_mem_t mem); +hidden void tre_mem_destroy(tre_mem_t mem); #define xmalloc malloc #define xcalloc calloc |