svn commit: r205997 - head/lib/libc/gen

Xin LI delphij at FreeBSD.org
Wed Mar 31 18:37:01 UTC 2010


Author: delphij
Date: Wed Mar 31 18:37:00 2010
New Revision: 205997
URL: http://svn.freebsd.org/changeset/base/205997

Log:
  Add prototype for libc internal interfaces.

Modified:
  head/lib/libc/gen/__getosreldate.c
  head/lib/libc/gen/_thread_init.c

Modified: head/lib/libc/gen/__getosreldate.c
==============================================================================
--- head/lib/libc/gen/__getosreldate.c	Wed Mar 31 18:36:04 2010	(r205996)
+++ head/lib/libc/gen/__getosreldate.c	Wed Mar 31 18:37:00 2010	(r205997)
@@ -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

Modified: head/lib/libc/gen/_thread_init.c
==============================================================================
--- head/lib/libc/gen/_thread_init.c	Wed Mar 31 18:36:04 2010	(r205996)
+++ head/lib/libc/gen/_thread_init.c	Wed Mar 31 18:37:00 2010	(r205997)
@@ -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);
 


More information about the svn-src-head mailing list