]> git.ipfire.org Git - thirdparty/gcc.git/commit
Tidy bits of libgcc/config/gthr-vxworks
authorOlivier Hainque <hainque@adacore.com>
Wed, 9 Jul 2025 10:48:34 +0000 (10:48 +0000)
committerOlivier Hainque <hainque@adacore.com>
Mon, 20 Oct 2025 16:56:08 +0000 (16:56 +0000)
commit4514439dac0c2ea205bae95ef13c1c1300489bdf
tree16183181f11695e52003c6f93e019085a2bc7ce8
parent6924c00c8710ec95834e21f8d68b10f2d09a8680
Tidy bits of libgcc/config/gthr-vxworks

This addresses a variety of warnings about missing prototypes
or suspicious ptr-to-function conversions.

libgcc/
* config/gthr-vxworks-thread.c (__init_gthread_tcb): Make static.
(__delete_gthread_tcb): Likewise.
(__task_wrapper): Likewise.
(__gthread_create): Convert __task_wrapper to (void *) before going
to (FUNCPTR).
* config/gthr-vxworks-tls.c (tls_delete_hook): Accommodate prototype
variations between kernel and rtp. Return STATUS.
libgcc/config/gthr-vxworks-thread.c
libgcc/config/gthr-vxworks-tls.c