aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-04-26 15:46:03 -0700
committerH. Peter Anvin <hpa@zytor.com>2012-04-26 15:46:03 -0700
commiteba2e602f0a8627a3420f73eed96be6aafd422e6 (patch)
treeedb73822eda7fc0249d64461d1a1ecc21a893593 /core
parent0dc83abe6a1f4ada9ecf15096539931e842b49f7 (diff)
downloadsyslinux-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>
Diffstat (limited to 'core')
-rw-r--r--core/fs/pxe/pxe.h1
-rw-r--r--core/fs/pxe/tftp.c2
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
};