summaryrefslogtreecommitdiffstats
path: root/libc/tools
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-05-09 20:10:14 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-05-09 20:10:14 -0700
commit804147cb7d533f5635da6adc28fbca1467a3078b (patch)
treee8d5ccd983127300a139f1e7ec152cc8ed4ddc04 /libc/tools
parentdbd5ecad26e39281bb83f97664bc32555c5c071a (diff)
parentedb7cad9b764f029c5faac2750f749d3d84bd86a (diff)
downloadbionic-804147cb7d533f5635da6adc28fbca1467a3078b.zip
bionic-804147cb7d533f5635da6adc28fbca1467a3078b.tar.gz
bionic-804147cb7d533f5635da6adc28fbca1467a3078b.tar.bz2
am edb7cad9: Merge "Actually set the header guard in "linux-syscalls.h"."
* commit 'edb7cad9b764f029c5faac2750f749d3d84bd86a': Actually set the header guard in "linux-syscalls.h".
Diffstat (limited to 'libc/tools')
-rwxr-xr-xlibc/tools/gensyscalls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py
index d5fbecf..9a8a8c7 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -425,7 +425,8 @@ class State:
D( "generating "+path )
fp = create_file( path )
fp.write( "/* auto-generated by gensyscalls.py, do not touch */\n" )
- fp.write( "#ifndef _BIONIC_LINUX_SYSCALLS_H_\n\n" )
+ fp.write( "#ifndef _BIONIC_LINUX_SYSCALLS_H_\n" )
+ fp.write( "#define _BIONIC_LINUX_SYSCALLS_H_\n\n" )
fp.write( "#if !defined __ASM_ARM_UNISTD_H && !defined __ASM_I386_UNISTD_H && !defined __ASM_MIPS_UNISTD_H\n" )
fp.write( "#if defined __arm__ && !defined __ARM_EABI__ && !defined __thumb__\n" )
fp.write( " # define __NR_SYSCALL_BASE 0x900000\n" )