diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-02-26 13:46:27 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-22 16:23:44 +0100 |
| commit | 8fb05cb48ef764e7aad8703218642543b3ee2677 (patch) | |
| tree | d82e0eee35b14ccbaf41a092069f0da1d62a8c12 /lib/flex_array.c | |
| parent | 0e1eae2145c03ef30ccdef288ce8eac8c70e2363 (diff) | |
lib/mpi: use "static inline" instead of "extern inline"
When we use CONFIG_PROFILE_ALL_BRANCHES, every 'if()' introduces
a static variable, but that is not allowed in 'extern inline'
functions:
mpi-inline.h:116:204: warning: '______f' is static but declared in inline function 'mpihelp_sub' which is not static
mpi-inline.h:113:184: warning: '______f' is static but declared in inline function 'mpihelp_sub' which is not static
mpi-inline.h:70:184: warning: '______f' is static but declared in inline function 'mpihelp_add' which is not static
mpi-inline.h:56:204: warning: '______f' is static but declared in inline function 'mpihelp_add_1' which is not static
This changes the MPI code to use 'static inline' instead, to get
rid of hundreds of warnings.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
