summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-03-31 18:37:00 +0000
committerdelphij <delphij@FreeBSD.org>2010-03-31 18:37:00 +0000
commit4aabc5b3a441338f6bc148ac42080730c67f0a3f (patch)
tree614f098dd82bd2db19a24d0a400fd2ec5a03d955 /lib/libc
parent1abd1d7fd9bc1c7eb574a87e7a343c0479c6b306 (diff)
downloadFreeBSD-src-4aabc5b3a441338f6bc148ac42080730c67f0a3f.zip
FreeBSD-src-4aabc5b3a441338f6bc148ac42080730c67f0a3f.tar.gz
Add prototype for libc internal interfaces.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/__getosreldate.c2
-rw-r--r--lib/libc/gen/_thread_init.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/gen/__getosreldate.c b/lib/libc/gen/__getosreldate.c
index 69aac07..7e26845 100644
--- a/lib/libc/gen/__getosreldate.c
+++ b/lib/libc/gen/__getosreldate.c
@@ -30,6 +30,8 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
+int __getosreldate(void);
+
/*
* This is private to libc. It is intended for wrapping syscall stubs in order
* to avoid having to put SIGSYS signal handlers in place to test for presence
diff --git a/lib/libc/gen/_thread_init.c b/lib/libc/gen/_thread_init.c
index acaf65c..e770ee4 100644
--- a/lib/libc/gen/_thread_init.c
+++ b/lib/libc/gen/_thread_init.c
@@ -29,6 +29,8 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
+void _thread_init_stub(void);
+
__weak_reference(_thread_init_stub, _thread_init);
__weak_reference(_thread_autoinit_dummy_decl_stub, _thread_autoinit_dummy_decl);
OpenPOWER on IntegriCloud