bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] libfshelp: use FSHELP_EXTERN_INLINE


From: Romain Naour
Subject: [PATCH] libfshelp: use FSHELP_EXTERN_INLINE
Date: Fri, 30 Oct 2020 22:37:25 +0100

libfshelp/rlock.h and libfshelp/fshelp.h use FSHELP_EXTERN_INLINE
not FSHELP_DEFINE_EXTERN_INLINE.

* libfshelp/fshelp.h: Use FSHELP_EXTERN_INLINE, not
  FSHELP_DEFINE_EXTERN_INLINE.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 libfshelp/fshelp.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 40d65b39..ba5ee187 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(FSHELP_DEFINE_EXTERN_INLINE)
+#if defined(__USE_EXTERN_INLINES) || defined(FSHELP_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(FSHELP_DEFINE_EXTERN_INLINE)
+#if defined(__USE_EXTERN_INLINES) || defined(FSHELP_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(FSHELP_DEFINE_EXTERN_INLINE)
+#if defined(__USE_EXTERN_INLINES) || defined(FSHELP_EXTERN_INLINE)
 
 FSHELP_EXTERN_INLINE
 error_t fshelp_rlock_po_fini (struct rlock_peropen *po)
-- 
2.25.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]