summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-06-13 01:43:23 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-06-13 20:22:19 +0700
commitc2afe81d854ba4e8a1d68d588ffdfc83d14e3323 (patch)
treef9e78a2245d58e7db40ebe1c5c13cf5f4da2a245 /include
parent556f03685e1222a7db89c4e50373811be3dc2da3 (diff)
ctrl_test.c: fix build with GCC 7.1.1
According to GCC's online docs: When an inline function is not static, then the compiler must assume that there may be calls from other source files; since a global symbol can be defined only once in any program, the function must not be defined in the other source files, so the calls therein cannot be integrated. Therefore, a non-static inline function is always compiled on its own in the usual fashion. There is no any (performance or size) benefit from 'inline' keyword in this particular file, so let's replace one by 'static'. Change-Id: I11e1f1cfea09c6f0cf8225239e782b551d3eb52f
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions