diff options
| author | Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com> | 2015-11-19 18:26:47 +0000 |
|---|---|---|
| committer | Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com> | 2015-11-19 18:26:47 +0000 |
| commit | ba99a70cd88fd702d75b103fbadba380ca6c36bd (patch) | |
| tree | 62674dd8be96b98d5f8760d69d4c8dc4998ff26c /tcc.h | |
| parent | 553242c18a2387fb896df66eb9b5a502f0e87ff0 (diff) | |
| download | tinycc-ba99a70cd88fd702d75b103fbadba380ca6c36bd.tar.gz tinycc-ba99a70cd88fd702d75b103fbadba380ca6c36bd.tar.bz2 | |
Trivial changes to avoid some compiler warnings.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -34,7 +34,7 @@ #include <fcntl.h> #include <setjmp.h> #include <time.h> -#include <sys/stat.h> // stat() +#include <sys/stat.h> /* stat() */ #ifdef CONFIG_TCCASSERT #include <assert.h> @@ -704,7 +704,7 @@ struct TCCState { enum { LINE_MACRO_OUTPUT_FORMAT_GCC, LINE_MACRO_OUTPUT_FORMAT_NONE, - LINE_MACRO_OUTPUT_FORMAT_STD, + LINE_MACRO_OUTPUT_FORMAT_STD } Pflag; /* -P switch */ int dflag; /* -dX value */ @@ -1033,8 +1033,8 @@ struct TCCState { #endif /* defined TCC_TARGET_I386 || defined TCC_TARGET_X86_64 */ enum tcc_token { - TOK_LAST = TOK_IDENT - 1, -#define DEF(id, str) id, + TOK_LAST = TOK_IDENT - 1 +#define DEF(id, str) ,id #include "tcctok.h" #undef DEF }; |
