diff options
author | Andy Lester <andy@petdance.com> | 2017-02-21 23:22:07 -0600 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2017-02-23 14:40:22 +1100 |
commit | cc8b45bd305949a5d1b6071215c6c8e429dd68bb (patch) | |
tree | 721bd8c61a605659f58cdae2926d8b917edefc90 /proto.h | |
parent | a26fecbbe7f9ad305d4e7e45430c95829d6f5aac (diff) | |
download | perl-cc8b45bd305949a5d1b6071215c6c8e429dd68bb.tar.gz |
Make Perl_abort_execution flagged as not returning
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -118,9 +118,11 @@ PERL_CALLCONV UV Perl__to_utf8_upper_flags(pTHX_ const U8 *p, const U8 *e, U8* u #define PERL_ARGS_ASSERT__TO_UTF8_UPPER_FLAGS \ assert(p); assert(ustrp); assert(file) PERL_CALLCONV void Perl__warn_problematic_locale(void); -PERL_CALLCONV void Perl_abort_execution(pTHX_ const char * const msg, const char * const name); +PERL_CALLCONV_NO_RET void Perl_abort_execution(pTHX_ const char * const msg, const char * const name) + __attribute__noreturn__; #define PERL_ARGS_ASSERT_ABORT_EXECUTION \ assert(msg); assert(name) + PERL_CALLCONV LOGOP* Perl_alloc_LOGOP(pTHX_ I32 type, OP *first, OP *other); PERL_CALLCONV PADOFFSET Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags); #define PERL_ARGS_ASSERT_ALLOCMY \ |