commit | f2c6ad6338b7ea96fe7b64bffa28d5ed81a2f994 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Apr 21 10:25:56 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Apr 21 19:52:21 2017 +0000 |
tree | 768871a1c1811fce1fe351c033c6a2174be71bf8 | |
parent | ee1c45f88f5fcd1b1d43c325e0de366cc3d0ce36 [diff] [blame] |
Make the _Unwind_Ptr declaration match clang's. Bug: https://issuetracker.google.com/37126620 Test: builds, boots angler Change-Id: I7d4a9b998f2e5c4c7b0beed87807d7b76a564c5c
diff --git a/libc/include/link.h b/libc/include/link.h index 0d07cb9..dd3b99f 100644 --- a/libc/include/link.h +++ b/libc/include/link.h
@@ -28,6 +28,7 @@ #ifndef _LINK_H_ #define _LINK_H_ +#include <stdint.h> #include <sys/cdefs.h> #include <sys/types.h> @@ -55,7 +56,7 @@ #endif #ifdef __arm__ -typedef long unsigned int* _Unwind_Ptr; +typedef uintptr_t _Unwind_Ptr; _Unwind_Ptr dl_unwind_find_exidx(_Unwind_Ptr, int*); #endif