[haiku-commits] Re: haiku: hrev50990 - src/libs/compat/freebsd_network/compat/machine
- From: Hamish Morrison <hamishm53@xxxxxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Wed, 1 Mar 2017 20:03:07 +0000
On 01/03/2017 19:33, fredrik.holmqvist@xxxxxxxxx wrote:
hrev50990 adds 1 changeset to branch 'master'
old head: 5e3916baeea5fceb1debbd27f5efb64c5b96968c
new head: 73c5d705cd50d74425ca99b071fb16c7edb9fdaf
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=73c5d705cd50+%5E5e3916baeea5
----------------------------------------------------------------------------
73c5d705cd50: Use static inline (gcc2 issue). Some format cleanup.
[ Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx> ]
For what it's worth, I think 'static inline' is actually correct here -
both for gcc2 and gcc4.
In C if you only specify 'inline' then you have to provide a definition
for it in another translation unit, and the compiler can choose between
either the inline definition or calling the external one.
Other related posts: