summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-15 11:18:13 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-15 11:18:13 +0000
commit955daf2c290d6d617c179070907358d991c11571 (patch)
treea1ba7ee78eb1cb6b8f7b4d252c96572f6076b3bd /libc
parent2fa66fcc51900bcb30b70429533d96b9c8e94e5a (diff)
hide __glob_*dir_hook
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/glob/glob-hooks.c6
-rw-r--r--libc/misc/glob/glob.c6
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,