Re: maint: Prefer endian.h for byte order conversions

2024-06-29 Thread Pádraig Brady
On 29/06/2024 12:53, Collin Funk wrote: Hi, Now that is a part of POSIX 2024 it should become more portable than . And it simplifies the code a bit. Patches attached. Side note, I feel like gnulib-tool should deal with adding the built versions of the *.in.h headers. That way it doesn't have t

maint: Prefer endian.h for byte order conversions

2024-06-29 Thread Collin Funk
rom: Collin Funk Date: Sat, 29 Jun 2024 04:36:38 -0700 Subject: [PATCH 2/2] maint: Prefer endian.h for byte order conversions * bootstrap.conf (gnulib_modules): Remove byteswap. Add endian. * src/cksum.c: Include endian.h instead of byteswap.h. (SWAP): Remove macro. (cksum_slice8): Use htobe32