HomeFreeBSD

Remove incorrect __restricted labels from strcspn

Description

Remove incorrect __restricted labels from strcspn

strcspn should never have had the __restrict keywords. While both of
these strings are const, it may have unindended side effects. While this
is the kernel, the POSIX definition also omits restrict.

Reviewed by: imp@
Pull Request: https://github.com/freebsd/freebsd-src/pull/497

Details

Provenance
gfunni234_gmail.comAuthored on Jul 14 2021, 9:48 PM
impCommitted on Jul 14 2021, 10:11 PM
Parents
rG7f5508fe78d1: nfscl: Avoid KASSERT() panic in cache_enter_time()
Branches
Unknown
Tags
Unknown