git: world: Add <byteswap.h> compat header.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Mar 14 12:37:10 PDT 2021


commit c7e47104c46f9ba2672469b56ba4606ba25ca0a4
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Mar 14 09:31:45 2021 +0000

    world: Add <byteswap.h> compat header.
    
     This header is to reduce porting efforts in ports.
     Once codebases move to common <endian.h> use <machine/endian.h> for the
     __bswapXY() definitions.

Summary of changes:
 include/Makefile                                      |  4 ++--
 lib/libc/gen/__errno_location.c => include/byteswap.h | 19 +++++++++++--------
 2 files changed, 13 insertions(+), 10 deletions(-)
 copy lib/libc/gen/__errno_location.c => include/byteswap.h (79%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c7e47104c46f9ba2672469b56ba4606ba25ca0a4


-- 
DragonFly BSD source repository


More information about the Commits mailing list