OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc33?expand=0&rev=3
15 lines
571 B
Diff
15 lines
571 B
Diff
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));
|