summaryrefslogtreecommitdiff
path: root/src/elfxx.h
diff options
context:
space:
mode:
authorhp.com!davidm <hp.com!davidm>2003-12-20 11:23:44 +0000
committerhp.com!davidm <hp.com!davidm>2003-12-20 11:23:44 +0000
commit4fafd8cbf7464f50b30e2983e332ddebef8b5acc (patch)
tree3f64010a92a5981efb57cbaac7ab8bb8819f5637 /src/elfxx.h
parent5e48061ba626625f4e4888e58eeee19d39fa8b17 (diff)
downloadlibunwind-4fafd8cbf7464f50b30e2983e332ddebef8b5acc.tar.gz
Use Elf_W() instead of ElfW() etc. to avoid clash with <linker.h>.
(Logical change 1.141)
Diffstat (limited to 'src/elfxx.h')
-rw-r--r--src/elfxx.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/elfxx.h b/src/elfxx.h
index 6a1ca208..f6a0e5d5 100644
--- a/src/elfxx.h
+++ b/src/elfxx.h
@@ -33,13 +33,13 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "internal.h"
#if ELF_CLASS == ELFCLASS32
-# define ELFW(x) ELF32_##x
-# define ElfW(x) Elf32_##x
-# define elfW(x) _Uelf32_##x
+# define ELF_W(x) ELF32_##x
+# define Elf_W(x) Elf32_##x
+# define elf_w(x) _Uelf32_##x
#else
-# define ELFW(x) ELF64_##x
-# define ElfW(x) Elf64_##x
-# define elfW(x) _Uelf64_##x
+# define ELF_W(x) ELF64_##x
+# define Elf_W(x) Elf64_##x
+# define elf_w(x) _Uelf64_##x
#endif
static inline int
@@ -67,7 +67,7 @@ elf_map_image (struct elf_image *ei, const char *path)
return 0;
}
-extern HIDDEN int elfW (valid_object) (struct elf_image *ei);
-extern HIDDEN int elfW (get_proc_name) (pid_t pid, unw_word_t ip,
- char *buf, size_t len,
- unw_word_t *offp);
+extern HIDDEN int elf_w (valid_object) (struct elf_image *ei);
+extern HIDDEN int elf_w (get_proc_name) (pid_t pid, unw_word_t ip,
+ char *buf, size_t len,
+ unw_word_t *offp);