summaryrefslogtreecommitdiff
path: root/lib/rpmal.c
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-26 13:24:14 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-26 13:24:14 +0200
commitbebeb89735f4927d33233d2c49e91919187f1c91 (patch)
treedab33f24de6f672de42e41af4787ceb8494a283c /lib/rpmal.c
parentbbce1581029dddbdcdd76a0b969fd8a8fe5614bf (diff)
downloadrpm-bebeb89735f4927d33233d2c49e91919187f1c91.tar.gz
rpm-bebeb89735f4927d33233d2c49e91919187f1c91.tar.bz2
rpm-bebeb89735f4927d33233d2c49e91919187f1c91.zip
Eliminate [u|]int_[8|16|32]. Use c99 stdint.h types instead.
Diffstat (limited to 'lib/rpmal.c')
-rw-r--r--lib/rpmal.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/rpmal.c b/lib/rpmal.c
index bde77a019..fcfc60451 100644
--- a/lib/rpmal.c
+++ b/lib/rpmal.c
@@ -24,7 +24,7 @@ struct availablePackage_s {
rpmds provides; /*!< Provides: dependencies. */
rpmfi fi; /*!< File info set. */
- uint_32 tscolor; /*!< Transaction color bits. */
+ uint32_t tscolor; /*!< Transaction color bits. */
fnpyKey key; /*!< Associated file name/python object */
@@ -65,7 +65,7 @@ struct fileIndexEntry_s {
const char * baseName; /*!< File basename. */
int baseNameLen;
rpmalNum pkgNum; /*!< Containing package index. */
- uint_32 ficolor;
+ uint32_t ficolor;
};
typedef struct dirInfo_s * dirInfo;
@@ -89,7 +89,7 @@ struct rpmal_s {
int delta; /*!< Delta for pkg list reallocation. */
int size; /*!< No. of pkgs in list. */
int alloced; /*!< No. of pkgs allocated for list. */
- uint_32 tscolor; /*!< Transaction color. */
+ uint32_t tscolor; /*!< Transaction color. */
int numDirs; /*!< No. of directories. */
dirInfo dirs; /*!< Set of directories. */
};
@@ -321,7 +321,7 @@ fprintf(stderr, " die[%5d] memset(%p,0,0x%lx)\n", al->numDirs, al->dirs + al-
}
rpmalKey rpmalAdd(rpmal * alistp, rpmalKey pkgKey, fnpyKey key,
- rpmds provides, rpmfi fi, uint_32 tscolor)
+ rpmds provides, rpmfi fi, uint32_t tscolor)
{
rpmalNum pkgNum;
rpmal al;
@@ -510,9 +510,9 @@ static int indexcmp(const void * one, const void * two)
return strcmp(a->entry, b->entry);
}
-void rpmalAddProvides(rpmal al, rpmalKey pkgKey, rpmds provides, uint_32 tscolor)
+void rpmalAddProvides(rpmal al, rpmalKey pkgKey, rpmds provides, uint32_t tscolor)
{
- uint_32 dscolor;
+ uint32_t dscolor;
const char * Name;
rpmalNum pkgNum = alKey2Num(al, pkgKey);
availableIndex ai = &al->index;
@@ -583,8 +583,8 @@ void rpmalMakeIndex(rpmal al)
fnpyKey *
rpmalAllFileSatisfiesDepend(const rpmal al, const rpmds ds, rpmalKey * keyp)
{
- uint_32 tscolor;
- uint_32 ficolor;
+ uint32_t tscolor;
+ uint32_t ficolor;
int found = 0;
const char * dirName;
const char * baseName;