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

Bruce Korb bkorb at veritas.com
Thu Feb 17 18:55:03 UTC 2005


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);

:)




More information about the Linux-cluster mailing list