diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-07-01 23:36:05 +0200 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-07-02 21:07:58 +0200 |
commit | a717e30bdf1ade23a28b644d1cb9f1161030d3b3 (patch) | |
tree | 740753d1a54186101bd3c21717a61aa6df986ef0 | |
parent | 6e43ab07fa278305978ece365f97ec72c2ef5bde (diff) | |
download | sparse-a717e30bdf1ade23a28b644d1cb9f1161030d3b3.tar.gz |
options: move declaration of tabstop out of "token.h"
'tabstop' is unusual in the sense that it's one the few (the only?)
variable defined via an option flag which is not declared in "lib.h"
but in "token.h". This for to have to include "token.h" in the code
doing the parsing of the options ...
Move this declaration to "lib.h".
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r-- | lib.h | 1 | ||||
-rw-r--r-- | token.h | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -48,6 +48,7 @@ extern int die_if_error; extern int repeat_phase; extern int do_output; extern int gcc_major, gcc_minor, gcc_patchlevel; +extern unsigned int tabstop; extern const char *base_filename; @@ -64,7 +64,6 @@ struct stream { extern int input_stream_nr; extern struct stream *input_streams; -extern unsigned int tabstop; extern int *hash_stream(const char *name); struct ident { |