Fix some compilation warnings (Thanks mxf)
This commit is contained in:
parent
aa02fda067
commit
b898058105
|
@ -1,5 +1,6 @@
|
|||
%{
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "cfgparse.tab.h"
|
||||
#include <xcb/xcb.h>
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue