[Olsr-cvs] olsrd-current/src/cfgparser oparse.y,1.37,1.38

Bernd Petrovitsch (spam-protected)
Fri Nov 16 20:12:57 CET 2007


Update of /cvsroot/olsrd/olsrd-current/src/cfgparser
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27640/src/cfgparser

Modified Files:
	oparse.y 
Log Message:
* added -Wwrite-strings

Index: oparse.y
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/oparse.y,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** oparse.y	8 Nov 2007 22:47:42 -0000	1.37
--- oparse.y	16 Nov 2007 19:12:55 -0000	1.38
***************
*** 66,70 ****
  #define YYSTYPE struct conf_token *
  
! void yyerror(char *);
  int yylex(void);
  
--- 66,70 ----
  #define YYSTYPE struct conf_token *
  
! void yyerror(const char *);
  int yylex(void);
  
***************
*** 965,969 ****
  %%
  
! void yyerror (char *string)
  {
    fprintf(stderr, "Config line %d: %s\n", current_line, string);
--- 965,969 ----
  %%
  
! void yyerror (const char *string)
  {
    fprintf(stderr, "Config line %d: %s\n", current_line, string);





More information about the Olsr-cvs mailing list