From 8aabbd7f63286e87fe95b672fad814b4625efa85 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 2 May 2016 12:47:58 -0700 Subject: [PATCH] Move glibc-syscalls.h into bits/. Bug: http://b/28519060 Change-Id: I0de1ba16b16eb7b780de89954d3fa45cca2f5295 --- libc/include/{sys => bits}/glibc-syscalls.h | 0 libc/include/sys/syscall.h | 2 +- libc/tools/gensyscalls.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename libc/include/{sys => bits}/glibc-syscalls.h (100%) diff --git a/libc/include/sys/glibc-syscalls.h b/libc/include/bits/glibc-syscalls.h similarity index 100% rename from libc/include/sys/glibc-syscalls.h rename to libc/include/bits/glibc-syscalls.h diff --git a/libc/include/sys/syscall.h b/libc/include/sys/syscall.h index 21eaf336b..87cddc94f 100644 --- a/libc/include/sys/syscall.h +++ b/libc/include/sys/syscall.h @@ -30,7 +30,7 @@ #define _SYS_SYSCALL_H_ #include /* Linux kernel __NR_* names. */ -#include /* glibc-compatible SYS_* aliases. */ +#include /* glibc-compatible SYS_* aliases. */ /* The syscall function itself is declared in , not here. */ diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index 04ccf3978..de06a2fa6 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -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)