diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-06-01 12:36:34 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2022-06-01 12:36:34 +0000 |
commit | e88276fdec7b3b94ec939f5eb1c8def004ee3878 (patch) | |
tree | 118f28d54fe208fe823e5e4cc775bbf377ea53a4 /src/headers/bits-template | |
parent | 37b42c179bb00d05cb47c739cb95283548f84fb2 (diff) | |
download | skalibs-e88276fdec7b3b94ec939f5eb1c8def004ee3878.tar.xz |
Rework endianness conversion primitives
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/headers/bits-template')
-rw-r--r-- | src/headers/bits-template | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/headers/bits-template b/src/headers/bits-template index f6cde95..306076d 100644 --- a/src/headers/bits-template +++ b/src/headers/bits-template @@ -2,8 +2,9 @@ extern void uint@BITS@_pack (char *, uint@BITS@_t) ; extern void uint@BITS@_pack_big (char *, uint@BITS@_t) ; extern void uint@BITS@_unpack (char const *, uint@BITS@_t *) ; extern void uint@BITS@_unpack_big (char const *, uint@BITS@_t *) ; -extern void uint@BITS@_reverse (char *, size_t) ; extern uint@BITS@_t uint@BITS@_bswap (uint@BITS@_t) ; +extern void uint@BITS@_bswapp (uint@BITS@_t *) ; +extern void uint@BITS@_bswapn (uint@BITS@_t *, size_t) ; #define UINT@BITS@_FMT @DFMT@ #define UINT@BITS@_OFMT @OFMT@ |