summaryrefslogtreecommitdiff
path: root/archival/rpm2cpio.c
diff options
context:
space:
mode:
authorEric Andersen2004-01-30 22:54:20 +0000
committerEric Andersen2004-01-30 22:54:20 +0000
commitdfcb5b041242d08944d3c34eef36dfff1a9177c3 (patch)
tree618dfd4c93ffc48caf873c711052f793a3c022b0 /archival/rpm2cpio.c
parent0f56de665c12763d74f402fa5ac6edd95202caaa (diff)
downloadbusybox-dfcb5b041242d08944d3c34eef36dfff1a9177c3.zip
busybox-dfcb5b041242d08944d3c34eef36dfff1a9177c3.tar.gz
s/u_int/uint/g
Diffstat (limited to 'archival/rpm2cpio.c')
-rw-r--r--archival/rpm2cpio.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/archival/rpm2cpio.c b/archival/rpm2cpio.c
index 47f4e73..d0041a8 100644
--- a/archival/rpm2cpio.c
+++ b/archival/rpm2cpio.c
@@ -31,21 +31,21 @@
struct rpm_lead {
unsigned char magic[4];
- u_int8_t major, minor;
- u_int16_t type;
- u_int16_t archnum;
+ uint8_t major, minor;
+ uint16_t type;
+ uint16_t archnum;
char name[66];
- u_int16_t osnum;
- u_int16_t signature_type;
+ uint16_t osnum;
+ uint16_t signature_type;
char reserved[16];
};
struct rpm_header {
char magic[3]; /* 3 byte magic: 0x8e 0xad 0xe8 */
- u_int8_t version; /* 1 byte version number */
- u_int32_t reserved; /* 4 bytes reserved */
- u_int32_t entries; /* Number of entries in header (4 bytes) */
- u_int32_t size; /* Size of store (4 bytes) */
+ uint8_t version; /* 1 byte version number */
+ uint32_t reserved; /* 4 bytes reserved */
+ uint32_t entries; /* Number of entries in header (4 bytes) */
+ uint32_t size; /* Size of store (4 bytes) */
};
void skip_header(int rpm_fd)