summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-20 09:04:34 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-21 21:08:23 -0400
commit6ab56f1e9333e6777f0fd1d37c91574aa3a5af02 (patch)
tree78c94648b5a72f9f3df706a104e59586e52a2495 /inline.h
parenta7b0b63ac23b24666cd605e01393e7f8d45d02ab (diff)
downloadperl-6ab56f1e9333e6777f0fd1d37c91574aa3a5af02.tar.gz
Try simpler usage for file-level GCC_DIAG_RESTORE.
Diffstat (limited to 'inline.h')
-rw-r--r--inline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inline.h b/inline.h
index 8b74452ea2..0792694650 100644
--- a/inline.h
+++ b/inline.h
@@ -189,7 +189,7 @@ S_sv_or_pv_pos_u2b(pTHX_ SV *sv, const char *pv, STRLEN pos, STRLEN *lenp)
/* saves machine code for a common noreturn idiom typically used in Newx*() */
#ifdef GCC_DIAG_PRAGMA
-GCC_DIAG_IGNORE(-Wunused-function);
+GCC_DIAG_IGNORE(-Wunused-function) /* Intentionally left semicolonless. */
#endif
static void
S_croak_memory_wrap(void)
@@ -197,7 +197,7 @@ S_croak_memory_wrap(void)
Perl_croak_nocontext("%s",PL_memory_wrap);
}
#ifdef GCC_DIAG_PRAGMA
-GCC_DIAG_RESTORE;
+GCC_DIAG_RESTORE /* Intentionally left semicolonless. */
#endif
/* ------------------------------- utf8.h ------------------------------- */