From 90ff9edfa9c5fcfa3a36d1653ff105e89b888e21 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 11 Apr 2020 21:43:28 +0200 Subject: fixing #6149 --- src/include/gnunet_disk_lib.h | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'src/include/gnunet_disk_lib.h') diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index b79be5f70..f43cf8943 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h @@ -690,35 +690,6 @@ int GNUNET_DISK_directory_create (const char *dir); -/** - * Lock a part of a file. - * - * @param fh file handle - * @param lock_start absolute position from where to lock - * @param lock_end absolute position until where to lock - * @param excl #GNUNET_YES for an exclusive lock - * @return #GNUNET_OK on success, #GNUNET_SYSERR on error - */ -int -GNUNET_DISK_file_lock (struct GNUNET_DISK_FileHandle *fh, - off_t lock_start, - off_t lock_end, int excl); - - -/** - * Unlock a part of a file. - * - * @param fh file handle - * @param unlock_start absolute position from where to unlock - * @param unlock_end absolute position until where to unlock - * @return #GNUNET_OK on success, #GNUNET_SYSERR on error - */ -int -GNUNET_DISK_file_unlock (struct GNUNET_DISK_FileHandle *fh, - off_t unlock_start, - off_t unlock_end); - - /** * @brief Removes special characters as ':' from a filename. * @param fn the filename to canonicalize -- cgit v1.2.3