hash/siphash: qualify local helper functions as static

This commit is contained in:
Danny Robson 2018-05-03 17:32:45 +10:00
parent 9f1f3633e2
commit 1c150296f9

View File

@ -34,7 +34,7 @@ uint64_t INITIALISERS[4] = {
///////////////////////////////////////////////////////////////////////////////
void
static void
round (uint64_t v[4])
{
using util::rotatel;
@ -119,5 +119,6 @@ siphash<C,D>::operator() (util::view<const uint8_t*> data) const noexcept
return state[0] ^ state[1] ^ state[2] ^ state[3];
}
///////////////////////////////////////////////////////////////////////////////
template class util::hash::siphash<2,4>;