summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-12-11 16:14:54 -0800
committerElliott Hughes <enh@google.com>2012-12-11 16:17:33 -0800
commit4fa35d8ae80c175425e9525831d7b6a71a3ada60 (patch)
treeaa349c2c944131991af7fcbcd91b1ab54c9c6b4e /libc/arch-x86
parent0521ff8234cafcc61060961b2f856fcf4dae1e7d (diff)
downloadbionic-4fa35d8ae80c175425e9525831d7b6a71a3ada60.zip
bionic-4fa35d8ae80c175425e9525831d7b6a71a3ada60.tar.gz
bionic-4fa35d8ae80c175425e9525831d7b6a71a3ada60.tar.bz2
Fix <endian.h> and <sys/endian.h>.
Previously we'd been relying on getting the machine-specific <endian.h> instead of the top-level <endian.h>, and <sys/endian.h> was basically broken. Now, with this patch and the previous patch we should have <endian.h> and <sys/endian.h> behaving the same. This is basically how NetBSD's endian.h works, and was probably how ours was originally intended to work. Bug: http://code.google.com/p/android/issues/detail?id=39824 Change-Id: I71de5a507e633de166013a658b5764df9e1aa09c
Diffstat (limited to 'libc/arch-x86')
-rw-r--r--libc/arch-x86/include/machine/endian.h (renamed from libc/arch-x86/include/endian.h)0
1 files changed, 0 insertions, 0 deletions
diff --git a/libc/arch-x86/include/endian.h b/libc/arch-x86/include/machine/endian.h
index e7ad257..e7ad257 100644
--- a/libc/arch-x86/include/endian.h
+++ b/libc/arch-x86/include/machine/endian.h