diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-04-26 15:46:03 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-04-26 15:46:03 -0700 |
commit | eba2e602f0a8627a3420f73eed96be6aafd422e6 (patch) | |
tree | edb73822eda7fc0249d64461d1a1ecc21a893593 | |
parent | 0dc83abe6a1f4ada9ecf15096539931e842b49f7 (diff) | |
download | syslinux-eba2e602f0a8627a3420f73eed96be6aafd422e6.tar.gz syslinux-eba2e602f0a8627a3420f73eed96be6aafd422e6.tar.xz syslinux-eba2e602f0a8627a3420f73eed96be6aafd422e6.zip |
pxe, tftp: make TimeoutTable static
TimeoutTable is now only used in tftp.c, so make it static.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/fs/pxe/pxe.h | 1 | ||||
-rw-r--r-- | core/fs/pxe/tftp.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/core/fs/pxe/pxe.h b/core/fs/pxe/pxe.h index 26cec628..530bc083 100644 --- a/core/fs/pxe/pxe.h +++ b/core/fs/pxe/pxe.h @@ -176,7 +176,6 @@ extern uint8_t uuid_type; extern uint8_t uuid[]; extern uint16_t BIOS_fbm; -extern const uint8_t TimeoutTable[]; /* * functions diff --git a/core/fs/pxe/tftp.c b/core/fs/pxe/tftp.c index 9897e803..2710787d 100644 --- a/core/fs/pxe/tftp.c +++ b/core/fs/pxe/tftp.c @@ -4,7 +4,7 @@ #include "url.h" #include "tftp.h" -const uint8_t TimeoutTable[] = { +static const uint8_t TimeoutTable[] = { 2, 2, 3, 3, 4, 5, 6, 7, 9, 10, 12, 15, 18, 21, 26, 31, 37, 44, 53, 64, 77, 92, 110, 132, 159, 191, 229, 255, 255, 255, 255, 0 }; |