diff options
Diffstat (limited to 'libc/tools')
-rwxr-xr-x | libc/tools/gensyscalls.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index edad792..9a8a8c7 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -476,22 +476,6 @@ class State: fp.close() self.other_files.append( path ) - # now dump the content of linux-syscalls.h - def gen_linux_unistd_h(self): - path = "include/sys/linux-unistd.h" - D( "generating "+path ) - fp = create_file( path ) - fp.write( "/* auto-generated by gensyscalls.py, do not touch */\n" ) - fp.write( "#ifndef _BIONIC_LINUX_UNISTD_H_\n\n" ); - fp.write( "#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n" ) - - for sc in self.syscalls: - fp.write( sc["decl"]+"\n" ) - - fp.write( "#ifdef __cplusplus\n}\n#endif\n" ) - fp.write( "\n#endif /* _BIONIC_LINUX_UNISTD_H_ */\n" ); - fp.close() - self.other_files.append( path ) # now dump the contents of syscalls.mk def gen_arch_syscalls_mk(self, arch): @@ -578,7 +562,6 @@ class State: self.gen_linux_syscalls_h() for arch in all_archs: self.gen_arch_syscalls_mk(arch) - self.gen_linux_unistd_h() self.gen_syscall_stubs() D( "comparing files" ) |