Bug 216111 - Minor violation of style(9) in hash.h
Summary: Minor violation of style(9) in hash.h
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-15 14:02 UTC by Bulat
Modified: 2022-11-21 04:32 UTC (History)
0 users

See Also:


Attachments
Proposed patch for 216111 (1.22 KB, patch)
2022-11-21 04:32 UTC, statistisches_avarija
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bulat 2017-01-15 14:02:48 UTC
r273268, sys/sys/hash.h

hash32_buf
hash32_str
hash32_strn
hash32_stre
hash32_strne

functions should have return value enclosed in parentheses,
according to style(9).

Thus, should be, for example, 
return (hash);
not
return hash;
Comment 1 statistisches_avarija 2022-11-21 04:32:09 UTC
Created attachment 238205 [details]
Proposed patch for 216111