summaryrefslogtreecommitdiff
path: root/src/libstddjb/uint16_bswapn.c
blob: 0d51e0b253214a9a8c099382f6fb7bddc0412668 (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <stddef.h>

#include <skalibs/uint16.h>

void uint16_bswapn (uint16_t *x, size_t n)
{
  while (n--) uint16_bswapp(x++) ;
}