[PATCH] resolv, rt: Change some extern inline functions to static inline
Florian Weimer
fw@deneb.enyo.de
Fri May 1 08:39:17 GMT 2026
* Peter Collingbourne:
> The following functions:
>
> __aio_create_helper_thread
> __aio_start_notify_thread
> __gai_create_helper_thread
> __gai_start_notify_thread
>
> are declared as extern inline, but no translation unit provides their
> real definitions. This can lead to a link failure if the functions are
> not inlined. Fix it by declaring them as static inline instead.
I would drop the “inline” as well, encouraging the compiler to make
the inlining decision.
More information about the Libc-alpha
mailing list