projects
/
b43-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
62ac5a2
)
b43-asm: const-ify yyerror() argument
author
Michael Buesch
<m@bues.ch>
Thu, 28 Feb 2013 12:31:30 +0000
(13:31 +0100)
committer
Michael Buesch
<m@bues.ch>
Thu, 28 Feb 2013 12:31:30 +0000
(13:31 +0100)
This fixes a compiler warning.
Signed-off-by: Michael Buesch <m@bues.ch>
assembler/parser.y
patch
|
blob
|
history
diff --git
a/assembler/parser.y
b/assembler/parser.y
index 317af05a282488cee207c729b60fe400f2500135..358abbb38000f5a5a6b5e1182af15bafd11e9464 100644
(file)
--- a/
assembler/parser.y
+++ b/
assembler/parser.y
@@
-23,7
+23,7
@@
#include <stdint.h>
extern char *yytext;
-extern void yyerror(char *);
+extern void yyerror(c
onst c
har *);
extern int yyparse(void);
extern int yylex(void);
@@
-1471,7
+1471,7
@@
identifier : IDENT {
int section = SECTION_TEXT; /* default to .text section */
struct initvals_sect *cur_initvals_sect;
-void yyerror(char *str)
+void yyerror(c
onst c
har *str)
{
unsigned int i;