[PATCH 3/9] nptl_db: Add __BEGIN_DECLS/__END_DECLS to thread_db.h
Carlos O'Donell
carlos@redhat.com
Mon Nov 2 16:56:15 GMT 2026
On 10/21/26 9:54 AM, Adhemerval Zanella wrote:
> Checked on aarch64-linux-gnu.
LGTM.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
> ---
> sysdeps/nptl/thread_db.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/sysdeps/nptl/thread_db.h b/sysdeps/nptl/thread_db.h
> index 64107852b5a..1f85ef480a5 100644
> --- a/sysdeps/nptl/thread_db.h
> +++ b/sysdeps/nptl/thread_db.h
> @@ -289,6 +289,8 @@ typedef struct td_thrinfo
>
>
>
> +__BEGIN_DECLS
> +
> /* Prototypes for exported library functions. */
>
> /* Initialize the thread debug support library. */
> @@ -455,4 +457,6 @@ extern td_err_e td_thr_dbsuspend (const td_thrhandle_t *__th);
> /* Resume execution of thread TH. */
> extern td_err_e td_thr_dbresume (const td_thrhandle_t *__th);
>
> +__END_DECLS
> +
> #endif /* thread_db.h */
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list