Page MenuHomeFreeBSD

Remove __restrict qualifiers from syscalls.master.
ClosedPublic

Authored by brooks on Oct 15 2018, 8:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 27, 10:15 AM
Unknown Object (File)
Fri, Sep 19, 11:08 AM
Unknown Object (File)
Sep 13 2025, 9:34 PM
Unknown Object (File)
Aug 31 2025, 10:31 PM
Unknown Object (File)
Aug 19 2025, 5:15 PM
Unknown Object (File)
Aug 18 2025, 11:49 AM
Unknown Object (File)
Aug 17 2025, 5:16 AM
Unknown Object (File)
Aug 17 2025, 2:43 AM
Subscribers

Details

Summary

The restruct qualifier is intended to aid code generation in the
compiler, but the only access to storage through these pointers is via
structs using copyin/copyout and the like which can not be written in C
or C++ and thus the compiler gains nothing from the qualifiers.

As such, the qualifiers add no value in current usage.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable