bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH hurd 02/30] include: force all refcount functions to be inlin


From: Samuel Thibault
Subject: Re: [PATCH hurd 02/30] include: force all refcount functions to be inlined
Date: Thu, 27 Nov 2014 19:18:35 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Thu 27 Nov 2014 14:18:42 +0100, a écrit :
> * include/refcount.h: Declare all functions `extern inline' instead of
> `static inline'.  This forces those functions to be inlined,

Well, actually no. The compiler is still allowed not to inline them,
and that turns them into external references. You then need to make
some .c file provide the implementations. See for instance the use of
DISKFS_DEFINE_EXTERN_INLINE

Samuel



reply via email to

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