diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/glob/glob-hooks.c | 6 | ||||
-rw-r--r-- | libc/misc/glob/glob.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libc/misc/glob/glob-hooks.c b/libc/misc/glob/glob-hooks.c index e2d8030cf..4d5d89d00 100644 --- a/libc/misc/glob/glob-hooks.c +++ b/libc/misc/glob/glob-hooks.c @@ -29,7 +29,7 @@ #include <glob.h> -__ptr_t (*__glob_opendir_hook) __P ((const char *directory)); -const char *(*__glob_readdir_hook) __P ((__ptr_t stream)); -void (*__glob_closedir_hook) __P ((__ptr_t stream)); +attribute_hidden __ptr_t (*__glob_opendir_hook) __P ((const char *directory)); +attribute_hidden const char *(*__glob_readdir_hook) __P ((__ptr_t stream)); +attribute_hidden void (*__glob_closedir_hook) __P ((__ptr_t stream)); diff --git a/libc/misc/glob/glob.c b/libc/misc/glob/glob.c index d55a649ab..cbc232076 100644 --- a/libc/misc/glob/glob.c +++ b/libc/misc/glob/glob.c @@ -40,9 +40,9 @@ libc_hidden_proto(fnmatch) libc_hidden_proto(qsort) libc_hidden_proto(lstat) -extern __ptr_t (*__glob_opendir_hook) __P ((const char *directory)); -extern void (*__glob_closedir_hook) __P ((__ptr_t stream)); -extern const char *(*__glob_readdir_hook) __P ((__ptr_t stream)); +extern __ptr_t (*__glob_opendir_hook) __P ((const char *directory)) attribute_hidden; +extern void (*__glob_closedir_hook) __P ((__ptr_t stream)) attribute_hidden; +extern const char *(*__glob_readdir_hook) __P ((__ptr_t stream)) attribute_hidden; static int glob_in_dir __P ((const char *pattern, const char *directory, |