From 2f386caec92f8852bc2fc6af8d1fcbced05dec42 Mon Sep 17 00:00:00 2001 From: dlg Date: Wed, 3 Jan 2018 06:27:42 +0000 Subject: [PATCH] remove __swap16_multi because endian.h provides swap16_multi without it ok guenther@ --- sys/sys/_endian.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/sys/sys/_endian.h b/sys/sys/_endian.h index 25366cc188a..e390cce0bb3 100644 --- a/sys/sys/_endian.h +++ b/sys/sys/_endian.h @@ -1,4 +1,4 @@ -/* $OpenBSD: _endian.h,v 1.2 2017/04/21 19:04:22 millert Exp $ */ +/* $OpenBSD: _endian.h,v 1.3 2018/01/03 06:27:42 dlg Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -143,18 +143,6 @@ #define __swap64 __swap64gen #endif /* __HAVE_MD_SWAP */ -#define __swap16_multi(v, n) do { \ - __size_t __swap16_multi_n = (n); \ - __uint16_t *__swap16_multi_v = (v); \ - \ - while (__swap16_multi_n) { \ - *__swap16_multi_v = swap16(*__swap16_multi_v); \ - __swap16_multi_v++; \ - __swap16_multi_n--; \ - } \ -} while (0) - - #if _BYTE_ORDER == _LITTLE_ENDIAN #define _QUAD_HIGHWORD 1 -- 2.20.1