diff mbox

[C++,trivial] Fix typo in pedwarn text

Message ID 575DB418.8060306@oracle.com
State New
Headers show

Commit Message

Paolo Carlini June 12, 2016, 7:12 p.m. UTC
Hi,

I'm going to fix this very, very old (for sure in 2008 it was already 
there) typo.

Thanks,
Paolo.

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

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

Patch

Index: decl.c
===================================================================
--- decl.c	(revision 237318)
+++ decl.c	(working copy)
@@ -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,