LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File c99-double-inline.diff of Package gcc33 (Project openSUSE:Factory)

Index: gcc/c-decl.c
===================================================================
--- gcc/c-decl.c.orig	2009-11-20 13:04:56.000000000 +0100
+++ gcc/c-decl.c	2009-11-20 13:05:28.000000000 +0100
@@ -3628,7 +3628,8 @@ grokdeclarator (declarator, declspecs, d
 		}
 	      else if (specbits & (1 << (int) i))
 		{
-		  if (i == RID_CONST || i == RID_VOLATILE || i == RID_RESTRICT)
+		  if (i == RID_CONST || i == RID_VOLATILE || i == RID_RESTRICT
+		      || i == RID_INLINE)
 		    {
 		      if (!flag_isoc99)
 			pedwarn ("duplicate `%s'", IDENTIFIER_POINTER (id));