aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authormadmurphy <madmurphy333@gmail.com>2022-02-10 22:20:32 +0000
committermadmurphy <madmurphy333@gmail.com>2022-02-10 22:20:32 +0000
commit82e288bcaa328b4cf39208646c2efb3dac0ccd1f (patch)
treedcf58ffbe484e59e484da65bf454f2a09f64ff3d /src/fs
parent99dcb607e4df229530ddc2967b9512382dc32301 (diff)
downloadgnunet-82e288bcaa328b4cf39208646c2efb3dac0ccd1f.tar.gz
gnunet-82e288bcaa328b4cf39208646c2efb3dac0ccd1f.zip
Use `const` for `GNUNET_FS_file_information_get_filename()`'s only argument
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_file_information.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c
index 3324abd58..c5faa14d4 100644
--- a/src/fs/fs_file_information.c
+++ b/src/fs/fs_file_information.c
@@ -57,7 +57,7 @@ GNUNET_FS_file_information_get_id (struct GNUNET_FS_FileInformation *s)
57 * @return "filename" field of the structure (can be NULL) 57 * @return "filename" field of the structure (can be NULL)
58 */ 58 */
59const char * 59const char *
60GNUNET_FS_file_information_get_filename (struct GNUNET_FS_FileInformation *s) 60GNUNET_FS_file_information_get_filename (const struct GNUNET_FS_FileInformation *s)
61{ 61{
62 return s->filename; 62 return s->filename;
63} 63}