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

#include <stddef.h>

#include <skalibs/uint64.h>

void uint64_bswapn (uint64_t *x, size_t n)
{
  while (n--) uint64_bswapp(x++) ;
}