summaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
standarize on unix-like lowercase struct names
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf.h b/elf.h
index cbcf38e..807c151 100644
--- a/elf.h
+++ b/elf.h
@@ -1,6 +1,6 @@
#define ELF_MAGIC 0x464C457FU /* "\x7FELF" in little endian */
-struct Elf {
+struct elfhdr {
uint32_t magic; // must equal ELF_MAGIC
uint8_t elf[12];
uint16_t type;
@@ -18,7 +18,7 @@ struct Elf {
uint16_t shstrndx;
};
-struct Proghdr {
+struct proghdr {
uint32_t type;
uint32_t offset;
uint32_t va;