From 8677fe28d1be552d8ed7fe8a200da3c727ec41ff Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 18 Dec 2004 22:42:27 +0000 Subject: remove GCC_FUNC_ATTR/GCC_FUNC_ATTR2 and just use __attribute__ directly (we define it away in sys/cdefs.h if it is not supported). --- bin/ksh/expr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ksh/expr.c') diff --git a/bin/ksh/expr.c b/bin/ksh/expr.c index 382c27e6dec..57b254183be 100644 --- a/bin/ksh/expr.c +++ b/bin/ksh/expr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: expr.c,v 1.12 2004/12/18 21:25:44 millert Exp $ */ +/* $OpenBSD: expr.c,v 1.13 2004/12/18 22:42:26 millert Exp $ */ /* * Korn expression evaluation @@ -129,7 +129,7 @@ enum error_type { ET_UNEXPECTED, ET_BADLIT, ET_RECURSIVE, ET_LVALUE, ET_RDONLY, ET_STR }; static void evalerr(Expr_state *es, enum error_type type, - const char *str) GCC_FUNC_ATTR(noreturn); + const char *str) __attribute__((__noreturn__)); static struct tbl *evalexpr(Expr_state *es, enum prec prec); static void token(Expr_state *es); static struct tbl *do_ppmm(Expr_state *es, enum token op, -- cgit v1.2.3