summaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
authorrsc <rsc>2006-07-17 01:58:13 +0000
committerrsc <rsc>2006-07-17 01:58:13 +0000
commitb5f17007f41770fee97fa850635976ceb7aa7492 (patch)
tree779473b174de7542e73219aed716d1c666a08a11 /elf.h
parente0966f459f5543faf9e574b7415bec2bf11e6b42 (diff)
downloadxv6-labs-b5f17007f41770fee97fa850635976ceb7aa7492.tar.gz
xv6-labs-b5f17007f41770fee97fa850635976ceb7aa7492.tar.bz2
xv6-labs-b5f17007f41770fee97fa850635976ceb7aa7492.zip
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;