• C
    xtensa: allow multi-inclusion for uapi/unistd.h · 2f72d4f6
    Chris Zankel 提交于
    Xtensa implements a method that allows to generate a arbitrary output
    for each system call by defining the __SYSCALL(number, function, num_args).
    This usually requires to include uapi/unistd.h twice. Instead of removing
    the guard agains multiple inclusion entirely, allow to include unistd.h again
    only if __SYSCALL is defined. Note that __SYSCALL gets always undefined at
    the end of the file.
    Signed-off-by: NChris Zankel <chris@zankel.net>
    2f72d4f6
unistd.h 21.7 KB