diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-11-10 23:28:40 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-11-10 23:28:40 +0000 |
commit | 479b6312fb2dc46cd5a096f7ea747a575401f11d (patch) | |
tree | 1946b9868348d01837ace052c397ca52b97e52bf /libfshelp | |
parent | 35648c7b1af994ec1d1037d51682d97530c5aeca (diff) | |
download | hurd-479b6312fb2dc46cd5a096f7ea747a575401f11d.tar.gz hurd-479b6312fb2dc46cd5a096f7ea747a575401f11d.tar.bz2 hurd-479b6312fb2dc46cd5a096f7ea747a575401f11d.zip |
libfshelp: Add missing prototypes
* libfshelp/fshelp.h (fshelp_rlock_init, fshelp_rlock_po_init)
[!__USE_EXTERN_INLINES || DISKFS_DEFINE_EXTERN_INLINE]: Add prototypes.
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/fshelp.h | 4 |
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 |