[BusyBox-cvs] busybox/archival rpm.c,1.4,1.5
Erik Andersen
andersen at busybox.net
Fri Jan 30 22:53:40 UTC 2004
Update of /var/cvs/busybox/archival
In directory nail:/tmp/cvs-serv12093/archival
Modified Files:
rpm.c
Log Message:
s/u_int/uint/g
Index: rpm.c
===================================================================
RCS file: /var/cvs/busybox/archival/rpm.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- rpm.c 15 Nov 2003 23:18:59 -0000 1.4
+++ rpm.c 30 Jan 2004 22:53:38 -0000 1.5
@@ -82,10 +82,10 @@
};
typedef struct {
- u_int32_t tag; /* 4 byte tag */
- u_int32_t type; /* 4 byte type */
- u_int32_t offset; /* 4 byte offset */
- u_int32_t count; /* 4 byte count */
+ uint32_t tag; /* 4 byte tag */
+ uint32_t type; /* 4 byte type */
+ uint32_t offset; /* 4 byte offset */
+ uint32_t count; /* 4 byte count */
} rpm_index;
static void *map;
@@ -227,10 +227,10 @@
for (pass = 0; pass < 2; pass++) { /* 1st pass is the signature headers, 2nd is the main stuff */
struct {
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) */
} header;
rpm_index *tmpindex;
int storepos;
More information about the busybox-cvs
mailing list