diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/set-hooks.h | 3 | ||||
-rw-r--r-- | include/unistd.h | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/set-hooks.h b/include/set-hooks.h index 709f4c0a61..6dfd61c631 100644 --- a/include/set-hooks.h +++ b/include/set-hooks.h @@ -52,7 +52,8 @@ do { \ which calls each function on the hook in turn, with ARGS. */ # define DEFINE_HOOK_RUNNER(name, runner, proto, args) \ -DEFINE_HOOK (name, proto); void runner proto { RUN_HOOK (name, args); } +DEFINE_HOOK (name, proto); \ +extern void runner proto; void runner proto { RUN_HOOK (name, args); } #else diff --git a/include/unistd.h b/include/unistd.h index 04b4739758..cd51117078 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -98,4 +98,9 @@ extern void *__sbrk (intptr_t __delta); environment variables that normally affect them. */ extern int __libc_enable_secure; + +/* Various internal function. */ +extern void __libc_check_standard_fds (void); + + #endif |