95fa061678400315ee757758bf5f9146176d47a0 |
|
28-Sep-2016 |
Elliott Hughes <enh@google.com> |
Rename __pure, __pure2, and __purefunc. These names were pretty misleading (aka "backwards"), so switch to the same obvious names glibc uses. Test: build. Change-Id: Ia98c9dbbccd0820386116562347654e84669034a
|
9c8d711aa5ee3108a8e1e8959be9d0355ca0fa6a |
|
13-Jun-2016 |
Elliott Hughes <enh@google.com> |
Don't expose all BSD extensions. Just expose the ones that bionic historically leaked. Also, many of the M_* constants in <math.h> are actually POSIX. Change-Id: I6275df84c5866b872b71f1c8ed14e2aada12b793
|
3ba55f8022f3d5c5ca94a3df46fa658eda791987 |
|
09-Jun-2016 |
Elliott Hughes <enh@google.com> |
Rationalize visibility. If it's C or POSIX, it's in. If it's BSD or GNU, it's guarded by __USE_BSD or __USE_GNU. Bug: https://code.google.com/p/android/issues/detail?id=194631 Change-Id: Ife51a21c2b37b060db56780d29c929805b199cb6
|
14adff1cfa06a3d4d3281a9bf7848b556d84c20d |
|
29-Apr-2016 |
Josh Gao <jmgao@google.com> |
Add versioning information to symbols. Bug: http://b/28178111 Change-Id: I46bf95accd819f4521afb1173d8badcc5e9df31c
|
bf4c32df6b7c15c8ca80319410e7d37ddd39240b |
|
27-Oct-2015 |
Elliott Hughes <enh@google.com> |
Remove swap16/swap32/swap64 header pollution. This seems to be obsolete BSD stuff, and the only references to it in the tree are people #undef'ing it. Bug: http://b/2735009 Change-Id: Icde523ae2d15cf1025357d861f97b415e89e4f9a
|
824f914caeb0a186557720a9c3a66e5b21880482 |
|
10-Dec-2014 |
Elliott Hughes <enh@google.com> |
Move BSD stuff together in <sys/endian.h>. Change-Id: I8bb511840f3cd98d5008034e405d82e923bd3203
|
56e017306eb55c5deea795f89d2fb657757b4164 |
|
09-Dec-2014 |
Elliott Hughes <enh@google.com> |
Simplify our endian.h implementation. We can rely on the compiler's builtins. Tested on arm, arm64, mips, x86, and x86-64. Change-Id: I0f774ed7e85b3c791a3178d8ef17c6500e6a9ace
|
135b103fd9ac404e9499fe40c725c33f34f86af7 |
|
14-May-2014 |
Elliott Hughes <enh@google.com> |
Fix <sys/endian.h> uint32_t build failures. Change-Id: I833b51318f0bf7749073859b7ffacc668c27558e
|
6a41b0fb0e589c4afc4ecbcf7c425f0aa40eaea4 |
|
14-May-2014 |
Elliott Hughes <enh@google.com> |
Flesh out <arpa/inet.h>. Use the upstream OpenBSD implementations of these functions. Also ensure we have symbols for htonl, htons, ntohl, and ntohs. gtest doesn't like us using the macro versions in ASSERT_EQ. Bug: 14840760 Change-Id: I68720e9aca14838df457d2bb27b999d5818ac2b5
|
9afe2884c7fe11f862982fd550a2ead688f2044d |
|
05-Feb-2014 |
Elliott Hughes <enh@google.com> |
Kill <machine/_types.h>. Most of <machine/_types.h> was either unused, wrong, or identical across all 32-/64-bit architectures. I'm not a huge fan of <sys/_types.h> either, but moving the bits we need up into there is a step forward. Bug: 12213562 Change-Id: Id13551c78966e324beee2dd90c5575e37d2a71e6
|
cf820d7e96d572484cfd2ef436a4cfada6d38175 |
|
22-Feb-2013 |
Elliott Hughes <enh@google.com> |
Add the glibc-compatible names to <sys/endian.h>. Also remove declarations for functions that don't exist; these are all macros. Bug: http://code.google.com/p/android/issues/detail?id=41769 Change-Id: Ia3774ab2ff7d3c535f83774eac61068f9b11e194
|
4fa35d8ae80c175425e9525831d7b6a71a3ada60 |
|
12-Dec-2012 |
Elliott Hughes <enh@google.com> |
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
|
1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
1767f908af327fa388b1c66883760ad851267013 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|