~vcs-imports/rtl-sdr/master

Viewing all changes in revision 351.

  • Committer: Steve Markgraf
  • Author(s): David Woodhouse
  • Date: 2018-07-03 21:59:01 UTC
  • Revision ID: git-v1:9047eef701f50d8bc4748233a31d65a0519ed86c
Fix inline functions to use 'static inline'

With just 'inline', if the compiler decides not to inline them, it isn't
required to emit them at all. For some targets with -Os that is causing
build failures, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86360.

Perhaps we might consider using '__attribute__((always_inline))' for
GCC builds, but 'static inline' is a good start.

Signed-off-by: Steve Markgraf <steve@steve-m.de>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: