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

2014-11-30 Thread Samuel Thibault
Justus Winter, le Sun 30 Nov 2014 19:29:01 +0100, a écrit : > So where would I put this then? libports? Or perhaps libshouldbeinlibc? Samuel

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

2014-11-30 Thread Justus Winter
Quoting Samuel Thibault (2014-11-27 19:18:35) > 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 allow

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

2014-11-27 Thread Samuel Thibault
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

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

2014-11-27 Thread Justus Winter
* include/refcount.h: Declare all functions `extern inline' instead of `static inline'. This forces those functions to be inlined, and allows us to use them in functions declared as `extern inline'. --- include/refcount.h | 34 +- 1 file changed, 17 insertions(+),