diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-12-04 22:00:13 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-12-05 20:07:11 +0000 |
commit | 6272db928783e303d84556598ecafba9358e0448 (patch) | |
tree | dc7ee6a9b05c00aa5854119818d4148465ed8770 /com32/elflink/ldlinux/readconfig.c | |
parent | 19eb366ea1945a88909c0b919980e54085e6b204 (diff) | |
download | syslinux-6272db928783e303d84556598ecafba9358e0448.tar.gz |
Reduce the number of global variables
In preparation for strictly limiting the list of variables that are
exported (global) in the core, delete any unused variables, rewrite
variable declarations in C that are not referenced by asm and delete
files that are no longer included in other asm files.
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/readconfig.c')
-rw-r--r-- | com32/elflink/ldlinux/readconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c index 64c20a05..705ffa8a 100644 --- a/com32/elflink/ldlinux/readconfig.c +++ b/com32/elflink/ldlinux/readconfig.c @@ -718,7 +718,7 @@ extern uint8_t FlowInput; extern uint8_t FlowOutput; extern uint16_t SerialPort; extern uint16_t BaudDivisor; -extern uint8_t SerialNotice; +static uint8_t SerialNotice = 1; #define DEFAULT_BAUD 9600 #define BAUD_DIVISOR 115200 |