aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-19 09:56:55 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-19 09:56:55 +0000
commite60e3503e55317edfcf697f7bc2de4b2dd14ba5a (patch)
tree05e214f9c9cb3716d04b14bee1820dd52b961f4d /src
parent936b15e2a941652763675501190ffe80bdb4c3a8 (diff)
downloadgnunet-e60e3503e55317edfcf697f7bc2de4b2dd14ba5a.tar.gz
gnunet-e60e3503e55317edfcf697f7bc2de4b2dd14ba5a.zip
const
Diffstat (limited to 'src')
-rw-r--r--src/fs/fs_file_information.c2
-rw-r--r--src/include/gnunet_fs_service.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c
index b248fae44..e920bf46b 100644
--- a/src/fs/fs_file_information.c
+++ b/src/fs/fs_file_information.c
@@ -587,7 +587,7 @@ GNUNET_FS_file_information_create_from_directory (struct GNUNET_FS_Handle *h,
587 * @return GNUNET_YES if so, GNUNET_NO if not 587 * @return GNUNET_YES if so, GNUNET_NO if not
588 */ 588 */
589int 589int
590GNUNET_FS_file_information_is_directory (struct GNUNET_FS_FileInformation *ent) 590GNUNET_FS_file_information_is_directory (const struct GNUNET_FS_FileInformation *ent)
591{ 591{
592 return ent->is_directory; 592 return ent->is_directory;
593} 593}
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index 13b0cd2c5..04e7b606c 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -1962,7 +1962,7 @@ GNUNET_FS_file_information_create_empty_directory (struct GNUNET_FS_Handle *h,
1962 * @return GNUNET_YES if so, GNUNET_NO if not 1962 * @return GNUNET_YES if so, GNUNET_NO if not
1963 */ 1963 */
1964int 1964int
1965GNUNET_FS_file_information_is_directory (struct GNUNET_FS_FileInformation *ent); 1965GNUNET_FS_file_information_is_directory (const struct GNUNET_FS_FileInformation *ent);
1966 1966
1967 1967
1968/** 1968/**