bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] libfshelp: use FSHELP_EXTERN_INLINE


From: Samuel Thibault
Subject: Re: [PATCH] libfshelp: use FSHELP_EXTERN_INLINE
Date: Sat, 31 Oct 2020 00:04:25 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Hello,

Romain Naour, le ven. 30 oct. 2020 22:37:25 +0100, a ecrit:
> 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.

But FSHELP_EXTERN_INLINE is always getting defined, so that makes the
#if moot.

I'd say rather make libfshelp/fshelp.h and libfshelp/extern-inline.c
coherent with libdiskfs's way of using FOO_DEFINE_EXTERN_INLINE. Others
(ext2fs, libpipe, etc.) are doing the same.

Samuel



reply via email to

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