summaryrefslogtreecommitdiffstats
path: root/scripts/socfpga_mkimage.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-09-15 08:05:27 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-15 14:24:28 +0200
commit65ca0db25b6aca3df1ff0adf1a9469e83983614f (patch)
treedd743a80db71939108f1ebf32dca9d8d86b511ad /scripts/socfpga_mkimage.c
parent3b39a4d550ac3756a6a9fb520a92f6f62c1b6b45 (diff)
downloadbarebox-65ca0db25b6aca3df1ff0adf1a9469e83983614f.tar.gz
barebox-65ca0db25b6aca3df1ff0adf1a9469e83983614f.tar.xz
scripts: Make locally used functions static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/socfpga_mkimage.c')
-rw-r--r--scripts/socfpga_mkimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/socfpga_mkimage.c b/scripts/socfpga_mkimage.c
index 03150cce8d..73dfbeae3a 100644
--- a/scripts/socfpga_mkimage.c
+++ b/scripts/socfpga_mkimage.c
@@ -147,7 +147,7 @@ static const uint32_t crc_table[256] = {
0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4
};
-uint32_t crc32(uint32_t crc, void *_buf, int length)
+static uint32_t crc32(uint32_t crc, void *_buf, int length)
{
uint8_t *buf = _buf;