summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2022-08-30 09:37:56 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-08-31 08:31:21 +0200
commite5f69f82585be23fe31abadb3eb496fb215dc476 (patch)
treee35be6142ae5bf4c29c23de063a85618d417d14b /fs
parent3e01858983aafb424b5ad10f11997af8cba99a5d (diff)
downloadbarebox-e5f69f82585be23fe31abadb3eb496fb215dc476.tar.gz
barebox-e5f69f82585be23fe31abadb3eb496fb215dc476.tar.xz
tftp: add some 'const' annotations
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Link: https://lore.barebox.org/20220830073816.2694734-2-enrico.scholz@sigma-chemnitz.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/tftp.c b/fs/tftp.c
index d186e7983a..c26204ae76 100644
--- a/fs/tftp.c
+++ b/fs/tftp.c
@@ -94,7 +94,7 @@ static int tftp_truncate(struct device_d *dev, FILE *f, loff_t size)
return 0;
}
-static char *tftp_states[] = {
+static char const * const tftp_states[] = {
[STATE_INVALID] = "INVALID",
[STATE_RRQ] = "RRQ",
[STATE_WRQ] = "WRQ",