Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103223508
D10932.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D10932.id.diff
View Options
Index: head/lib/libthr/arch/aarch64/include/pthread_md.h
===================================================================
--- head/lib/libthr/arch/aarch64/include/pthread_md.h
+++ head/lib/libthr/arch/aarch64/include/pthread_md.h
@@ -72,8 +72,6 @@
return (tcb);
}
-extern struct pthread *_thr_initial;
-
static __inline struct pthread *
_get_curthread(void)
{
Index: head/lib/libthr/arch/arm/include/pthread_md.h
===================================================================
--- head/lib/libthr/arch/arm/include/pthread_md.h
+++ head/lib/libthr/arch/arm/include/pthread_md.h
@@ -75,8 +75,6 @@
#endif
}
-extern struct pthread *_thr_initial;
-
static __inline struct pthread *
_get_curthread(void)
{
Index: head/lib/libthr/arch/mips/include/pthread_md.h
===================================================================
--- head/lib/libthr/arch/mips/include/pthread_md.h
+++ head/lib/libthr/arch/mips/include/pthread_md.h
@@ -120,8 +120,6 @@
# endif /* ! __mips_n64 */
#endif /* ! TLS_USE_SYSARCH */
-extern struct pthread *_thr_initial;
-
static __inline struct pthread *
_get_curthread(void)
{
Index: head/lib/libthr/arch/powerpc/include/pthread_md.h
===================================================================
--- head/lib/libthr/arch/powerpc/include/pthread_md.h
+++ head/lib/libthr/arch/powerpc/include/pthread_md.h
@@ -80,8 +80,6 @@
return ((struct tcb *)(_tp - TP_OFFSET));
}
-extern struct pthread *_thr_initial;
-
static __inline struct pthread *
_get_curthread(void)
{
Index: head/lib/libthr/arch/riscv/include/pthread_md.h
===================================================================
--- head/lib/libthr/arch/riscv/include/pthread_md.h
+++ head/lib/libthr/arch/riscv/include/pthread_md.h
@@ -78,8 +78,6 @@
return ((struct tcb *)(_tp - TP_OFFSET));
}
-extern struct pthread *_thr_initial;
-
static __inline struct pthread *
_get_curthread(void)
{
Index: head/lib/libthr/thread/thr_private.h
===================================================================
--- head/lib/libthr/thread/thr_private.h
+++ head/lib/libthr/thread/thr_private.h
@@ -69,6 +69,9 @@
WEAK_REF(func, SYM_FBP10(sym)); \
SYM_DEFAULT(sym, SYM_FBP10(sym), FBSDprivate_1.0)
+struct pthread;
+extern struct pthread *_thr_initial __hidden;
+
#include "pthread_md.h"
#include "thr_umtx.h"
#include "thread_db.h"
@@ -711,7 +714,6 @@
*/
extern char *_usrstack __hidden;
-extern struct pthread *_thr_initial __hidden;
/* For debugger */
extern int _libthr_debug;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 9:40 AM (7 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14796607
Default Alt Text
D10932.id.diff (2 KB)
Attached To
Mode
D10932: libthr: fix warnings at WARNS=6
Attached
Detach File
Event Timeline
Log In to Comment