diff --git a/arch/aarch64/makecontext.c b/arch/aarch64/makecontext.c index e79ac7f..e397865 100644 --- a/arch/aarch64/makecontext.c +++ b/arch/aarch64/makecontext.c @@ -57,4 +57,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif diff --git a/arch/arm/makecontext.c b/arch/arm/makecontext.c index fd46df1..bcfb6cf 100644 --- a/arch/arm/makecontext.c +++ b/arch/arm/makecontext.c @@ -61,4 +61,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif diff --git a/arch/m68k/makecontext.c b/arch/m68k/makecontext.c index fb380f1..62ad05f 100644 --- a/arch/m68k/makecontext.c +++ b/arch/m68k/makecontext.c @@ -60,4 +60,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif diff --git a/arch/ppc/makecontext.c b/arch/ppc/makecontext.c index f8ed384..f7fef69 100644 --- a/arch/ppc/makecontext.c +++ b/arch/ppc/makecontext.c @@ -60,4 +60,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(), int argc, . #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif diff --git a/arch/ppc64/makecontext.c b/arch/ppc64/makecontext.c index e42d66a..8ec0e45 100644 --- a/arch/ppc64/makecontext.c +++ b/arch/ppc64/makecontext.c @@ -61,4 +61,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(), int argc, . #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif diff --git a/arch/riscv64/makecontext.c b/arch/riscv64/makecontext.c index aee671c..044928f 100644 --- a/arch/riscv64/makecontext.c +++ b/arch/riscv64/makecontext.c @@ -61,4 +61,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif diff --git a/arch/s390x/makecontext.c b/arch/s390x/makecontext.c index f970da4..74420cb 100644 --- a/arch/s390x/makecontext.c +++ b/arch/s390x/makecontext.c @@ -67,4 +67,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif diff --git a/arch/sh/makecontext.c b/arch/sh/makecontext.c index 9bc4782..0b7c877 100644 --- a/arch/sh/makecontext.c +++ b/arch/sh/makecontext.c @@ -58,4 +58,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif diff --git a/arch/x86/makecontext.c b/arch/x86/makecontext.c index 8d7fbf5..938b08d 100644 --- a/arch/x86/makecontext.c +++ b/arch/x86/makecontext.c @@ -58,4 +58,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif diff --git a/arch/x86_64/makecontext.c b/arch/x86_64/makecontext.c index 836ca62..b91e75c 100644 --- a/arch/x86_64/makecontext.c +++ b/arch/x86_64/makecontext.c @@ -79,4 +79,5 @@ libucontext_makecontext(libucontext_ucontext_t *ucp, void (*func)(void), int arg #ifdef EXPORT_UNPREFIXED extern __typeof(libucontext_makecontext) makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); +extern __typeof(libucontext_makecontext) __makecontext __attribute__((weak, __alias__("libucontext_makecontext"))); #endif