Fix warnings

This commit is contained in:
Ilmir Usmanov
2014-07-10 11:01:40 +04:00
parent 74a0f470d2
commit 2d4b325d24
12 changed files with 162 additions and 152 deletions
+2 -9
View File
@@ -18,16 +18,9 @@
#include "mappings.h"
extern void lexer_dump_buffer_state ();
extern void lexer_dump_buffer_state (void);
static inline void
fatal (int code)
{
printf ("FATAL: %d\n", code);
lexer_dump_buffer_state ();
JERRY_UNREACHABLE ();
exit (code);
}
void fatal (int);
#define ERR_IO (-1)
#define ERR_BUFFER_SIZE (-2)