Move externs to header files

Follow Linux kernel coding style.

Remove exception from checkpatch.pl configuration file.

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-01-04 01:09:15 +00:00
parent 8e8865940a
commit b04596a32b
10 changed files with 14 additions and 16 deletions

View File

@@ -9,6 +9,7 @@
#include "asm/symbol.h"
#include "asm/fstack.h"
#include "asm/lexer.h"
#include "asm/output.h"
#include "asm/main.h"
@@ -16,8 +17,7 @@
#include "extern/reallocarray.h"
#include "extern/version.h"
int yyparse(void);
void setuplex(void);
extern int yyparse(void);
int32_t cldefines_index;
int32_t cldefines_size;
@@ -32,7 +32,6 @@ uint32_t unionStart[128], unionSize[128];
/* extern int yydebug; */
FILE *dependfile;
extern char *tzObjectname;
/*
* Option stack
@@ -384,7 +383,7 @@ int main(int argc, char *argv[])
tzMainfile = argv[argc - 1];
setuplex();
setup_lexer();
if (CurrentOptions.verbose)
printf("Assembling %s\n", tzMainfile);