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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux