Merge "Move glibc-syscalls.h into bits/."

This commit is contained in:
Elliott Hughes 2016-05-02 22:41:34 +00:00 committed by Gerrit Code Review
commit 3338ee5257
3 changed files with 2 additions and 2 deletions

View file

@ -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. */

View file

@ -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)