diff options
Diffstat (limited to 'plugins/mate/mate_parser.l')
-rw-r--r-- | plugins/mate/mate_parser.l | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/mate/mate_parser.l b/plugins/mate/mate_parser.l index cf0e599de5..b266b4061a 100644 --- a/plugins/mate/mate_parser.l +++ b/plugins/mate/mate_parser.l @@ -1,6 +1,8 @@ %top { /* Include this before everything else, for various large-file definitions */ #include "config.h" +/* Include this before everything else, as it declares functions used here. */ +#include "mate.h" } /* @@ -78,7 +80,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include "mate.h" #include "mate_grammar.h" #include <wsutil/file_util.h> @@ -89,13 +90,6 @@ #pragma warning (disable:4018) #endif - void MateParser(void*, int, gchar*, mate_config*); -#if (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 16)) - void *MateParserAlloc(void *(*)(gsize)); -#else - void *MateParserAlloc(void *(*)(gulong)); -#endif - void MateParserFree( void*, void(*)(void*) ); void MateParseTrace(FILE*,char*); #define MAX_INCLUDE_DEPTH 10 |