summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-05-16 20:59:35 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-17 15:15:46 +0000
commitabb2c24232c1dbd60ae39bdbb7e3cf487e3da996 (patch)
treec7620e2c468757b1cc254d2c7137e924d9337c01 /op.c
parent2e7ed132d3ea6a9040a623e3541f25dd0709096b (diff)
downloadperl-abb2c24232c1dbd60ae39bdbb7e3cf487e3da996.tar.gz
perl 5.9.x (@ 24471): Symbian update
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D793@esebe105.NOE.Nokia.com> completed by: Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D7A0@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24492
Diffstat (limited to 'op.c')
-rw-r--r--op.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/op.c b/op.c
index 909973dcbd..5f36c57133 100644
--- a/op.c
+++ b/op.c
@@ -2366,9 +2366,8 @@ Perl_newBINOP(pTHX_ I32 type, I32 flags, OP *first, OP *last)
return fold_constants((OP *)binop);
}
-static int uvcompare(const void *a, const void *b) __attribute__((nonnull,pure));
-static int
-uvcompare(const void *a, const void *b)
+static int uvcompare(const void *a, const void *b) __attribute__nonnull__(1) __attribute__nonnull__(2) __attribute__pure__;
+static int uvcompare(const void *a, const void *b)
{
if (*((const UV *)a) < (*(const UV *)b))
return -1;
@@ -4900,9 +4899,9 @@ Perl_oopsCV(pTHX_ OP *o)
Perl_croak(aTHX_ "NOT IMPL LINE %d",__LINE__);
/* STUB */
(void)o;
-#ifndef HASATTRIBUTE
- /* No __attribute__, so the compiler doesn't know that croak never returns
- */
+#ifndef HASATTRIBUTE_NORETURN
+ /* No __attribute__((noreturn)), so the compiler doesn't know that
+ * croak never returns. */
return 0;
#endif
}