diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2022-08-30 09:37:56 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-08-31 08:31:21 +0200 |
commit | e5f69f82585be23fe31abadb3eb496fb215dc476 (patch) | |
tree | e35be6142ae5bf4c29c23de063a85618d417d14b /fs | |
parent | 3e01858983aafb424b5ad10f11997af8cba99a5d (diff) | |
download | barebox-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", |