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)
Wed, Apr 15, 7:01 AM
Unknown Object (File)
Tue, Apr 7, 3:25 PM
Unknown Object (File)
Sun, Apr 5, 8:54 PM
Unknown Object (File)
Sun, Apr 5, 4:44 AM
Unknown Object (File)
Sat, Apr 4, 10:53 AM
Unknown Object (File)
Fri, Apr 3, 11:17 PM
Unknown Object (File)
Mon, Mar 30, 9:07 AM
Unknown Object (File)
Sun, Mar 29, 8:38 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