diff options
author | Arun Sharma <arun@sharma-home.net> | 2014-09-20 09:03:10 -0700 |
---|---|---|
committer | Arun Sharma <arun@sharma-home.net> | 2014-09-27 09:47:23 -0700 |
commit | 781d5d526361504143e4b19c3e911fc71fca95ba (patch) | |
tree | cb3c6089e652063c4028add3a989a8539806db77 /src/elfxx.h | |
parent | 06e608d0437fe7c33469236622457296d8bfe7a4 (diff) | |
download | libunwind-781d5d526361504143e4b19c3e911fc71fca95ba.tar.gz |
One time whitespace fixup.
for f in $(find src include -name '*.[ch]'); do
expand -t 8 $f > $tmp; mv $tmp $f;
done
Diffstat (limited to 'src/elfxx.h')
-rw-r--r-- | src/elfxx.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/elfxx.h b/src/elfxx.h index dd1e346a..cef6647b 100644 --- a/src/elfxx.h +++ b/src/elfxx.h @@ -1,7 +1,7 @@ /* libunwind - a platform-independent unwind library Copyright (C) 2003, 2005 Hewlett-Packard Co Copyright (C) 2007 David Mosberger-Tang - Contributed by David Mosberger-Tang <dmosberger@gmail.com> + Contributed by David Mosberger-Tang <dmosberger@gmail.com> This file is part of libunwind. @@ -33,26 +33,26 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "libunwind_i.h" #if ELF_CLASS == ELFCLASS32 -# define ELF_W(x) ELF32_##x -# define Elf_W(x) Elf32_##x -# define elf_w(x) _Uelf32_##x +# define ELF_W(x) ELF32_##x +# define Elf_W(x) Elf32_##x +# define elf_w(x) _Uelf32_##x #else -# define ELF_W(x) ELF64_##x -# define Elf_W(x) Elf64_##x -# define elf_w(x) _Uelf64_##x +# define ELF_W(x) ELF64_##x +# define Elf_W(x) Elf64_##x +# define elf_w(x) _Uelf64_##x #endif extern int elf_w (get_proc_name) (unw_addr_space_t as, - pid_t pid, unw_word_t ip, - char *buf, size_t len, - unw_word_t *offp); + pid_t pid, unw_word_t ip, + char *buf, size_t len, + unw_word_t *offp); extern int elf_w (get_proc_name_in_image) (unw_addr_space_t as, - struct elf_image *ei, - unsigned long segbase, - unsigned long mapoff, - unw_word_t ip, - char *buf, size_t buf_len, unw_word_t *offp); + struct elf_image *ei, + unsigned long segbase, + unsigned long mapoff, + unw_word_t ip, + char *buf, size_t buf_len, unw_word_t *offp); static inline int elf_w (valid_object) (struct elf_image *ei) @@ -61,9 +61,9 @@ elf_w (valid_object) (struct elf_image *ei) return 0; return (memcmp (ei->image, ELFMAG, SELFMAG) == 0 - && ((uint8_t *) ei->image)[EI_CLASS] == ELF_CLASS - && ((uint8_t *) ei->image)[EI_VERSION] != EV_NONE - && ((uint8_t *) ei->image)[EI_VERSION] <= EV_CURRENT); + && ((uint8_t *) ei->image)[EI_CLASS] == ELF_CLASS + && ((uint8_t *) ei->image)[EI_VERSION] != EV_NONE + && ((uint8_t *) ei->image)[EI_VERSION] <= EV_CURRENT); } static inline int |