]> git.proxmox.com Git - wasi-libc.git/commit
make `__get_tp()` a static function (#327)
authorMarcin Kolny <mkolny@amazon.com>
Mon, 19 Sep 2022 20:53:39 +0000 (21:53 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Sep 2022 20:53:39 +0000 (13:53 -0700)
commit05b3b876e63cdc919c79f5127a7ae8dbdb7b095f
tree70b170d4ca4cac622cbc0af541d9ebb7c9ffe8ee
parentc40403f9b02f1b71c73a0537518ba26f91c194c4
make `__get_tp()` a static function (#327)

I'm not sure if the function really has to be exported. If so, we should
probably move it to a separate compilation unit, otherwise it will be defined
multiple times (e.g. in `strerror.o` and `__lctrans.o`) causing linker errors.
However, I don't see a reason (at least for now) to export this function,
therefore making it static in this PR.
expected/wasm32-wasi/posix/defined-symbols.txt
libc-top-half/musl/arch/wasm32/pthread_arch.h