Move glibc-syscalls.h into bits/.
Bug: http://b/28519060 Change-Id: I0de1ba16b16eb7b780de89954d3fa45cca2f5295
This commit is contained in:
parent
ec4671928c
commit
8aabbd7f63
|
@ -30,7 +30,7 @@
|
|||
#define _SYS_SYSCALL_H_
|
||||
|
||||
#include <asm/unistd.h> /* Linux kernel __NR_* names. */
|
||||
#include <sys/glibc-syscalls.h> /* glibc-compatible SYS_* aliases. */
|
||||
#include <bits/glibc-syscalls.h> /* glibc-compatible SYS_* aliases. */
|
||||
|
||||
/* The syscall function itself is declared in <unistd.h>, not here. */
|
||||
|
||||
|
|
|
@ -570,7 +570,7 @@ class State:
|
|||
|
||||
def gen_glibc_syscalls_h(self):
|
||||
# TODO: generate a separate file for each architecture, like glibc's bits/syscall.h.
|
||||
glibc_syscalls_h_path = "include/sys/glibc-syscalls.h"
|
||||
glibc_syscalls_h_path = "include/bits/glibc-syscalls.h"
|
||||
logging.info("generating " + glibc_syscalls_h_path)
|
||||
glibc_fp = create_file(glibc_syscalls_h_path)
|
||||
glibc_fp.write("/* %s */\n" % warning)
|
||||
|
|
Loading…
Reference in New Issue