diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-10-15 00:53:37 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-10-15 01:08:47 +0200 |
commit | fd136da04ade528edb666bf00a7bc7c4bd4d120c (patch) | |
tree | e4c988a4da6afa81704038f52b5ce3b9cc3d3414 /test/test-tcp-connect-error-after-write.c | |
parent | d8de4fbd13f9284737a01dea32639785780c6f0a (diff) | |
download | libuv-fd136da04ade528edb666bf00a7bc7c4bd4d120c.tar.gz libuv-fd136da04ade528edb666bf00a7bc7c4bd4d120c.zip |
unix: remove always_inline attribute
Fixes the following gcc 4.7+ warning:
../src/unix/internal.h:105:13: warning: always_inline function might not be
inlinable [-Wattributes]
gcc wants the always_inline function to be annotated with the 'inline' keyword
which we can't do because we compile in C89 mode.
Using __inline is not an option because that makes clang generate warnings when
-Wlanguage-extension-token is enabled.
Therefore, remove the always_inline attribute altogether and hope that the
compiler is smart enough to inline the functions.
Diffstat (limited to 'test/test-tcp-connect-error-after-write.c')
0 files changed, 0 insertions, 0 deletions