diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-08-01 21:09:01 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-08-01 21:09:01 +0200 |
commit | ca3d36201329f0e21b995d831ce9f6f03b6b985e (patch) | |
tree | e52fd5cf85a0256db30d7f15d02647c55d6735a7 /libfshelp | |
parent | 5ee0291b5d305f6742dc9fffaa1341427eab0056 (diff) | |
download | hurd-ca3d36201329f0e21b995d831ce9f6f03b6b985e.tar.gz hurd-ca3d36201329f0e21b995d831ce9f6f03b6b985e.tar.bz2 hurd-ca3d36201329f0e21b995d831ce9f6f03b6b985e.zip |
libfshelp: Fix extern inline definitions
* libfshelp/fshelp.h (fshelp_rlock_init, fshelp_rlock_po_init,
fshelp_rlock_po_fini): Define when FSHELP_DEFINE_EXTERN_INLINE is
defined, not DISKFS_DEFINE_EXTERN_INLINE.
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/fshelp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h index 94f7f597..62be94ab 100644 --- a/libfshelp/fshelp.h +++ b/libfshelp/fshelp.h @@ -256,7 +256,7 @@ struct rlock_box error_t fshelp_rlock_init (struct rlock_box *box); -#if defined(__USE_EXTERN_INLINES) || defined(DISKFS_DEFINE_EXTERN_INLINE) +#if defined(__USE_EXTERN_INLINES) || defined(FSHELP_DEFINE_EXTERN_INLINE) /* Initialize the rlock_box BOX. */ FSHELP_EXTERN_INLINE @@ -280,7 +280,7 @@ struct rlock_peropen error_t fshelp_rlock_po_init (struct rlock_peropen *po); -#if defined(__USE_EXTERN_INLINES) || defined(DISKFS_DEFINE_EXTERN_INLINE) +#if defined(__USE_EXTERN_INLINES) || defined(FSHELP_DEFINE_EXTERN_INLINE) FSHELP_EXTERN_INLINE error_t fshelp_rlock_po_init (struct rlock_peropen *po) @@ -303,7 +303,7 @@ error_t fshelp_rlock_drop_peropen (struct rlock_peropen *po); /* Drop the peropen identifier */ error_t fshelp_rlock_po_fini (struct rlock_peropen *po); -#if defined(__USE_EXTERN_INLINES) || defined(DISKFS_DEFINE_EXTERN_INLINE) +#if defined(__USE_EXTERN_INLINES) || defined(FSHELP_DEFINE_EXTERN_INLINE) FSHELP_EXTERN_INLINE error_t fshelp_rlock_po_fini (struct rlock_peropen *po) |