Skip to content
  • Kamil Rytarowski's avatar
    include: Rename the bswap functions to vlc_bswap · 7e9ef3d7
    Kamil Rytarowski authored and Thomas Guillem's avatar Thomas Guillem committed
    
    
    The bswap16, bswap32 and bswap64 functions are already present on NetBSD
    and cannot be redefined in include/vlc_common.h as this causes fatal build
    errors.
    
    Rename these functions to vlc_bswap16, vlc_bswap32 and vlc_bswap64 and
    keep them as they are without fallback to the NetBSD's libc one. These
    functions are already small enough and we can bear with them as duplicates
    on the gain of no extra ifdefs in the vlc_common.h public header.
    
    Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
    7e9ef3d7