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

Re: [Linux-cluster] [PATCH 2/4] fence - Remove GNU-isms



Bastian Blank wrote:
> 
> This patch removes the GNU-isms in the die defines and replaces them
> with inline functions.

The problem with this is that you have to go above -O2 optimization
to get inline functions.  The macros are always inline.  Also,
If you're going to optimize printf's, then replace:

  fputs("\n", stdout);

with:

  fputc('\n', stdout);

:)


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