| |
@@ -37,13 +37,14 @@
|
| |
*/
|
| |
#include <string.h>
|
| |
#include <stdlib.h>
|
| |
+ #include <strings.h>
|
| |
|
| |
#define TRUE 1
|
| |
#define FALSE 0
|
| |
|
| |
static char **selections; /* selection tokens */
|
| |
static int nselections; /* number of selections */
|
| |
- static ifsense; /* sense of last `if' or unless seen */
|
| |
+ static int ifsense; /* sense of last `if' or unless seen */
|
| |
static char *attribute; /* last attribute scanned */
|
| |
|
| |
struct stack_t {
|
| |
@@ -237,9 +238,9 @@
|
| |
|
| |
#include "config.h"
|
| |
|
| |
- int yywrap() {exit(0);};
|
| |
+ int yywrap() {exit(0);}
|
| |
|
| |
- main(int argc, char *argv[])
|
| |
+ int main(int argc, char *argv[])
|
| |
{
|
| |
int i;
|
| |
|
| |
@@ -265,7 +266,7 @@
|
| |
exit(1);
|
| |
}
|
| |
|
| |
- yylex();
|
| |
+ return yylex();
|
| |
}
|
| |
|
| |
/*
|
| |
infrastructure updates:
- rename configure.in to configure.ac
- update configure.ac to support autoupdate-2.71
- don't hardcode paths to utilities
fix compiler warning:
- -Wimplicit-int
- fix extra ‘;’ outside of a function
- return type defaults to ‘int’ [-Wimplicit-int]
- implicit declaration of function ‘strncasecmp’