diff options
author | madmurphy <madmurphy333@gmail.com> | 2022-02-10 22:20:32 +0000 |
---|---|---|
committer | madmurphy <madmurphy333@gmail.com> | 2022-02-10 22:20:32 +0000 |
commit | 82e288bcaa328b4cf39208646c2efb3dac0ccd1f (patch) | |
tree | dcf58ffbe484e59e484da65bf454f2a09f64ff3d /src/fs | |
parent | 99dcb607e4df229530ddc2967b9512382dc32301 (diff) | |
download | gnunet-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.c | 2 |
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 | */ |
59 | const char * | 59 | const char * |
60 | GNUNET_FS_file_information_get_filename (struct GNUNET_FS_FileInformation *s) | 60 | GNUNET_FS_file_information_get_filename (const struct GNUNET_FS_FileInformation *s) |
61 | { | 61 | { |
62 | return s->filename; | 62 | return s->filename; |
63 | } | 63 | } |