Re: [PATCH] Make git compile with SUNs forte12 compiler
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 13, 2007, 10:39 UTC
- Message-ID
- <Pine.LNX.4.64.0705131238420.6410@racer.site>
- In-Reply-To
- <11790057101792-git-send-email-sithglan@stud.uni-erlangen.de>
Hi,
On Sat, 12 May 2007, Thomas Glanzmann wrote:
> This patch moves two inline functions from a header file to the > corresponding c file.
I think that it is wrong to move inline functions out of a header file. Many C compilers will not be able to inline it then.
A better solution (IMHO) is to make it "static inline".
Ciao, Dscho