aboutsummaryrefslogtreecommitdiff
path: root/src/util/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/disk.c')
-rw-r--r--src/util/disk.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/disk.c b/src/util/disk.c
index dc38d1137..d723303d8 100644
--- a/src/util/disk.c
+++ b/src/util/disk.c
@@ -236,7 +236,8 @@ GNUNET_DISK_file_handle_size (struct GNUNET_DISK_FileHandle *fh,
236 * @return the new position on success, #GNUNET_SYSERR otherwise 236 * @return the new position on success, #GNUNET_SYSERR otherwise
237 */ 237 */
238off_t 238off_t
239GNUNET_DISK_file_seek (const struct GNUNET_DISK_FileHandle * h, off_t offset, 239GNUNET_DISK_file_seek (const struct GNUNET_DISK_FileHandle *h,
240 off_t offset,
240 enum GNUNET_DISK_Seek whence) 241 enum GNUNET_DISK_Seek whence)
241{ 242{
242 if (h == NULL) 243 if (h == NULL)
@@ -1034,7 +1035,8 @@ GNUNET_DISK_fn_read (const char *fn,
1034 */ 1035 */
1035ssize_t 1036ssize_t
1036GNUNET_DISK_file_write (const struct GNUNET_DISK_FileHandle * h, 1037GNUNET_DISK_file_write (const struct GNUNET_DISK_FileHandle * h,
1037 const void *buffer, size_t n) 1038 const void *buffer,
1039 size_t n)
1038{ 1040{
1039 if (NULL == h) 1041 if (NULL == h)
1040 { 1042 {