From 479b6312fb2dc46cd5a096f7ea747a575401f11d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 10 Nov 2019 23:28:40 +0000 Subject: libfshelp: Add missing prototypes * libfshelp/fshelp.h (fshelp_rlock_init, fshelp_rlock_po_init) [!__USE_EXTERN_INLINES || DISKFS_DEFINE_EXTERN_INLINE]: Add prototypes. --- libfshelp/fshelp.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3