From b19575ed42ccb26947c93012bc6b5060c1094cec Mon Sep 17 00:00:00 2001 From: Zander671 Date: Sun, 20 Nov 2022 20:03:55 -0800 Subject: [PATCH] sys/sys/hash.h: Add () around return values --- sys/sys/hash.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/sys/hash.h b/sys/sys/hash.h index 35e76ec758cb..ddd30b959142 100644 --- a/sys/sys/hash.h +++ b/sys/sys/hash.h @@ -51,7 +51,7 @@ hash32_buf(const void *buf, size_t len, uint32_t hash) while (len--) hash = HASHSTEP(hash, *p++); - return hash; + return (hash); } /* @@ -65,7 +65,7 @@ hash32_str(const void *buf, uint32_t hash) while (*p) hash = HASHSTEP(hash, *p++); - return hash; + return (hash); } /* @@ -79,7 +79,7 @@ hash32_strn(const void *buf, size_t len, uint32_t hash) while (*p && len--) hash = HASHSTEP(hash, *p++); - return hash; + return (hash); } /* @@ -98,7 +98,7 @@ hash32_stre(const void *buf, int end, const char **ep, uint32_t hash) if (ep) *ep = p; - return hash; + return (hash); } /* @@ -118,7 +118,7 @@ hash32_strne(const void *buf, size_t len, int end, const char **ep, if (ep) *ep = p; - return hash; + return (hash); } #ifdef _KERNEL -- 2.38.1