summaryrefslogtreecommitdiff
path: root/hwdb/60-evdev.hwdb
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-17 13:26:13 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-17 13:34:34 -0400
commit2f368e4a114888dae8c7ebb1020efc3d922b61e9 (patch)
treea6c9cd3bdf2a010a0c5a62e976b340327f72d8fa /hwdb/60-evdev.hwdb
parenta44202e98b638024c45e50ad404c7069c7835c04 (diff)
basic/missing: move syscall definitions to basic/missing_syscall.h
We have a bunch of syscall wrapper definitions and it's easier to see that they follow the same pattern if they are not interspersed with other defines. Change the wrappers to be uniform: - if __NR_XXX is not defined, do not bother to call the syscall, and return -1/ENOSYS immediately. - do not check __NR_XXX defines if we detect the symbol as defined, since we don't need them anyway - reindent stuff for readability New file basic/missing_syscall.h is included at the end of missing.h because it might make use of some of the definitions in missing.h.
Diffstat (limited to 'hwdb/60-evdev.hwdb')
0 files changed, 0 insertions, 0 deletions