You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not seeing a need to change this, what problem would this solve?
These generated headers should never be included directly by anyone, they really need to only be included at the very end of the corresponding headers that define the system calls, inside that header's ifdef guard.
You'll never be able to make these generated headers safe to include in a general sense as they also do not include the necessary headers to pull in data structure definitions used by the system calls.
I think doing this might avoid some weird error that might be hard to track down later. The system calls have introduced some interesting include path issues (see commit 8777ff1). So thinking having the headers have proper ifndef protection would just be good form.
For example:
'include/generated/syscalls/rtc.h'
Doesn't have anything like:
The text was updated successfully, but these errors were encountered: