multiwan: remove unnecessary call to config_clear()
[packages.git] / net / mdnsresponder / patches / 002-newer-bison.patch
1 --- a/mDNSShared/dnsextd_parser.y
2 +++ b/mDNSShared/dnsextd_parser.y
3 @@ -15,6 +15,8 @@
4   * limitations under the License.
5   */
6  
7 +%parse-param { void *context }
8 +
9  %{
10  #include <stdio.h>
11  #include <stdlib.h>
12 @@ -23,7 +25,7 @@
13  #include "DebugServices.h"
14  #include "dnsextd.h"
15  
16 -void yyerror( const char* error );
17 +void yyerror( void *context, const char* error );
18  int  yylex(void);
19  
20  
21 @@ -378,7 +380,7 @@ int yywrap(void);
22  
23  extern int yylineno;
24  
25 -void yyerror( const char *str )
26 +void yyerror( void *context, const char *str )
27  {
28          fprintf( stderr,"%s:%d: error: %s\n", g_filename, yylineno, str );
29  }