Fix some compilation warnings (Thanks mxf)

This commit is contained in:
Michael Stapelberg 2009-09-26 13:30:32 +02:00
parent aa02fda067
commit b898058105
3 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,6 @@
%{
#include <stdio.h>
#include <string.h>
#include "cfgparse.tab.h"
#include <xcb/xcb.h>

View File

@ -15,6 +15,8 @@
#include "util.h"
#include "queue.h"
#include "table.h"
#include "workspace.h"
#include "xcb.h"
extern int yylex(void);
extern FILE *yyin;

View File

@ -26,6 +26,10 @@
#include "table.h"
#include "workspace.h"
/* prototype for src/cfgparse.y, will be cleaned up as soon as we completely
* switched to the new scanner/parser. */
void parse_file(const char *f);
Config config;
bool config_use_lexer = false;