decl.c (grokdeclarator): Fix typo in pedwarn text.

2016-06-13  Paolo Carlini  <paolo.carlini@oracle.com>

	* decl.c (grokdeclarator): Fix typo in pedwarn text.

From-SVN: r237354
This commit is contained in:
Paolo Carlini 2016-06-13 07:28:33 +00:00 committed by Paolo Carlini
parent 5843a5f0a2
commit f423253bd7
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2016-06-13 Paolo Carlini <paolo.carlini@oracle.com>
* decl.c (grokdeclarator): Fix typo in pedwarn text.
2016-06-10 Thomas Schwinge <thomas@codesourcery.com>
PR c/71381

View file

@ -11365,7 +11365,7 @@ grokdeclarator (const cp_declarator *declarator,
{
if (storage_class == sc_static)
pedwarn (input_location, OPT_Wpedantic,
"%<static%> specified invalid for function %qs "
"%<static%> specifier invalid for function %qs "
"declared out of global scope", name);
else
pedwarn (input_location, OPT_Wpedantic,