diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:52 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:52 +0200 |
commit | a9416dd8a675e1669e52792ea736a3602aa6d92c (patch) | |
tree | b55ed51b195a67c0b4c26da3eb28b55f6a1b5aa9 /include/envfs.h | |
parent | bc22f79c1cdfe032d0d81525507ab6c1580dca03 (diff) | |
download | barebox-a9416dd8a675e1669e52792ea736a3602aa6d92c.tar.gz barebox-a9416dd8a675e1669e52792ea736a3602aa6d92c.tar.xz |
svn_rev_417
use uint32_t to compile it with linux
Diffstat (limited to 'include/envfs.h')
-rw-r--r-- | include/envfs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/envfs.h b/include/envfs.h index 6c1fd475d2..b04c3b8b20 100644 --- a/include/envfs.h +++ b/include/envfs.h @@ -7,9 +7,9 @@ #define ENVFS_SIGNATURE "U-Boot envfs" struct envfs_inode { - u32 magic; /* 0x67a8c78d */ - u32 crc; /* crc for this inode and corresponding data */ - u32 size; /* data size in bytes */ + uint32_t magic; /* 0x67a8c78d */ + uint32_t crc; /* crc for this inode and corresponding data */ + uint32_t size; /* data size in bytes */ char name[32]; char data[0]; }; @@ -18,10 +18,10 @@ struct envfs_inode { * Superblock information at the beginning of the FS. */ struct envfs_super { - u32 magic; /* 0x798fba79 - random number */ - u32 priority; - u32 flags; /* feature flags */ - u32 future; /* reserved for future use */ + uint32_t magic; /* 0x798fba79 - random number */ + uint32_t priority; + uint32_t flags; /* feature flags */ + uint32_t future; /* reserved for future use */ }; #if __BYTE_ORDER == __LITTLE_ENDIAN |