]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/siphash.c
Move c_src dirs back to toplevel
[bcachefs-tools-debian] / libbcachefs / siphash.c
index 3a6c9c8217f03719561f236ad3fe3ec3e66095f5..dc1a27cc31cd4de56cdc2e44026e4be7b789c34f 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSD-3-Clause
 /*     $OpenBSD: siphash.c,v 1.3 2015/02/20 11:51:03 tedu Exp $ */
 
 /*-
@@ -159,7 +160,7 @@ u64 SipHash_End(SIPHASH_CTX *ctx, int rc, int rf)
 
        r = (ctx->v[0] ^ ctx->v[1]) ^ (ctx->v[2] ^ ctx->v[3]);
        memset(ctx, 0, sizeof(*ctx));
-       return (r);
+       return r;
 }
 
 u64 SipHash(const SIPHASH_KEY *key, int rc, int rf, const void *src, size_t len)