[alsa-devel] [PATCH 0/6] alsa-lib: Various portability fixes

Michael Forney mforney at mforney.org
Wed Jun 12 08:08:08 CEST 2019


Even though alsa-lib doesn't aim for ISO C conformance, hopefully these
changes are uncontroversial enough to be considered anyway.

Michael Forney (6):
  Use __func__ instead of __FUNCTION__
  List cases in range explicitly
  Don't return in a void function
  Make sure parameter qualifiers match between declaration and
    definition
  Remove unused empty struct
  Avoid pointer arithmetic on `void *`

 aserver/aserver.c    |  4 ++--
 include/error.h      |  8 ++++----
 include/local.h      |  4 ++--
 src/conf.c           | 22 ++++++++++++----------
 src/pcm/pcm.c        | 16 ++++++++--------
 src/pcm/pcm_direct.h |  2 --
 src/pcm/pcm_hw.c     |  2 +-
 src/pcm/pcm_rate.c   |  8 ++++----
 src/pcm/pcm_share.c  |  4 ++--
 9 files changed, 35 insertions(+), 35 deletions(-)

-- 
2.20.1



More information about the Alsa-devel mailing list