Fix a number of style issues and attempt to reduce the diff to NetBSD.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.sbin/rpcbind/check_bound.c | ||
---|---|---|
67 | Can it be const? | |
usr.sbin/rpcbind/rpcb_svc_4.c | ||
401 | ||
421 | ||
423–424 | The label should be on dedicated line. | |
usr.sbin/rpcbind/rpcbind.h | ||
159 | We have __DECONST(), which is more correct (cast through uintptr_t instead of long, I believe this breaks cheri). Can it be used there instead? Or at least __UNCONST can be defined as __DECONST(void *, _). |
usr.sbin/rpcbind/check_bound.c | ||
---|---|---|
67 | Not without significant additional changes in this and other translation units. |