diff options
author | Josh Gao <jmgao@google.com> | 2017-08-29 13:08:32 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-08-29 15:18:46 -0700 |
commit | c3706668c67acdd8bcfb3df873991777d8bc1195 (patch) | |
tree | 792c3da63721078eefa77f6aef95b1555f5147f0 /debuggerd/libdebuggerd/elf_utils.cpp | |
parent | 287e8348deff5f9dfc9b622f757ffcdc55bf307e (diff) | |
download | system_core-c3706668c67acdd8bcfb3df873991777d8bc1195.tar.gz system_core-c3706668c67acdd8bcfb3df873991777d8bc1195.tar.bz2 system_core-c3706668c67acdd8bcfb3df873991777d8bc1195.zip |
libdebuggerd: cleanup.
Move libdebuggerd headers into their own directory for namespacing,
move some includes to the top of their implementing files, delete some
dead code.
Test: mma, treehugger
Change-Id: Ie4c44e32e2ab3bc678092899d257fd4ed634aa34
Diffstat (limited to 'debuggerd/libdebuggerd/elf_utils.cpp')
-rw-r--r-- | debuggerd/libdebuggerd/elf_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debuggerd/libdebuggerd/elf_utils.cpp b/debuggerd/libdebuggerd/elf_utils.cpp index 4e798e243..a35102f63 100644 --- a/debuggerd/libdebuggerd/elf_utils.cpp +++ b/debuggerd/libdebuggerd/elf_utils.cpp @@ -16,6 +16,8 @@ #define LOG_TAG "DEBUG" +#include "libdebuggerd/elf_utils.h" + #include <elf.h> #include <stdint.h> #include <stdlib.h> @@ -27,8 +29,6 @@ #include <backtrace/Backtrace.h> #include <log/log.h> -#include "elf_utils.h" - #define NOTE_ALIGN(size) (((size) + 3) & ~3) template <typename HdrType, typename PhdrType, typename NhdrType> |