From 4855731ade5c0ba97fa916c054c6c71bf7b05950 Mon Sep 17 00:00:00 2001 From: Tomasz Konojacki Date: Wed, 19 Apr 2023 04:34:10 +0200 Subject: regen/embed.pl: don't hide mathoms makedef.pl exports them unconditionally and embed.pl should use the same logic. --- proto.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'proto.h') diff --git a/proto.h b/proto.h index a955ade96f..7f3967fa09 100644 --- a/proto.h +++ b/proto.h @@ -5679,8 +5679,7 @@ Perl_malloced_size(void *p) #endif /* defined(MYMALLOC) */ #if !defined(NO_MATHOMS) PERL_CALLCONV bool -Perl_do_aexec(pTHX_ SV *really, SV **mark, SV **sp) - __attribute__visibility__("hidden"); +Perl_do_aexec(pTHX_ SV *really, SV **mark, SV **sp); # define PERL_ARGS_ASSERT_DO_AEXEC \ assert(mark); assert(sp) @@ -6020,8 +6019,7 @@ Perl_gv_SVadd(pTHX_ GV *gv); # if defined(PERL_IN_OP_C) || defined(PERL_IN_PERLY_C) || \ defined(PERL_IN_TOKE_C) PERL_CALLCONV OP * -Perl_ref(pTHX_ OP *o, I32 type) - __attribute__visibility__("hidden"); +Perl_ref(pTHX_ OP *o, I32 type); # define PERL_ARGS_ASSERT_REF # endif @@ -7446,10 +7444,6 @@ Perl_warn_elem_scalar_context(pTHX_ const OP *o, SV *name, bool is_hash, bool is assert(o); assert(name) #endif /* defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C) */ -#if defined(PERL_IN_OP_C) || defined(PERL_IN_PERLY_C) || \ - defined(PERL_IN_TOKE_C) - -#endif #if defined(PERL_IN_OP_C) || defined(PERL_IN_REGCOMP_ANY) #endif -- cgit v1.2.1