summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-11-10 23:28:40 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-11-10 23:28:40 +0000
commit479b6312fb2dc46cd5a096f7ea747a575401f11d (patch)
tree1946b9868348d01837ace052c397ca52b97e52bf
parent35648c7b1af994ec1d1037d51682d97530c5aeca (diff)
libfshelp: Add missing prototypes
* libfshelp/fshelp.h (fshelp_rlock_init, fshelp_rlock_po_init) [!__USE_EXTERN_INLINES || DISKFS_DEFINE_EXTERN_INLINE]: Add prototypes.
-rw-r--r--libfshelp/fshelp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 3961a701..4f0c693e 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -254,6 +254,8 @@ struct rlock_box
struct rlock_list *locks; /* List of locks on the file. */
};
+error_t fshelp_rlock_init (struct rlock_box *box);
+
#if defined(__USE_EXTERN_INLINES) || defined(DISKFS_DEFINE_EXTERN_INLINE)
/* Initialize the rlock_box BOX. */
@@ -276,6 +278,8 @@ struct rlock_peropen
struct rlock_list **locks;
};
+error_t fshelp_rlock_po_init (struct rlock_peropen *po);
+
#if defined(__USE_EXTERN_INLINES) || defined(DISKFS_DEFINE_EXTERN_INLINE)
FSHELP_EXTERN_INLINE