On Tue, Aug 3, 2021 at 7:55 AM Warner Losh <i...@bsdimp.com> wrote:

>
>
> On Tue, Aug 3, 2021, 5:02 AM Alex Bennée <alex.ben...@linaro.org> wrote:
>
>> This doesn't exist in BSD world and doesn't seem to be needed by
>> either.
>>
>
> Sys/endian.h is common. FreeBSD has endian.h, but others don't.
>
> Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
>> Cc: Warner Losh <i...@bsdimp.com>
>>
>
> Acked by: Warner Losh <i...@bsdimp.com>
>

On second thought, this is

Reviewed by: Warner Losh <i...@bsdimp.com>

since I know the change is good.

Warner


> ---
>>  tests/tcg/multiarch/sha1.c | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/tests/tcg/multiarch/sha1.c b/tests/tcg/multiarch/sha1.c
>> index 87bfbcdf52..0081bd7657 100644
>> --- a/tests/tcg/multiarch/sha1.c
>> +++ b/tests/tcg/multiarch/sha1.c
>> @@ -43,7 +43,6 @@ void SHA1Init(SHA1_CTX* context);
>>  void SHA1Update(SHA1_CTX* context, const unsigned char* data, uint32_t
>> len);
>>  void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
>>  /* ================ end of sha1.h ================ */
>> -#include <endian.h>
>>
>>  #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 -
>> (bits))))
>>
>> --
>> 2.30.2
>>
>>

Reply via email to