summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-05-14 20:12:10 +0000
committerjbj <devnull@localhost>2001-05-14 20:12:10 +0000
commit3c563d21182b97271411e6b3209a07b6f78b94db (patch)
treef45cc7a4d00a6816221633467493482b6bd585ad /python
parenta9184b73ecb9bcb5dedb503529a0696cdb5b008a (diff)
downloadlibrpm-tizen-3c563d21182b97271411e6b3209a07b6f78b94db.tar.gz
librpm-tizen-3c563d21182b97271411e6b3209a07b6f78b94db.tar.bz2
librpm-tizen-3c563d21182b97271411e6b3209a07b6f78b94db.zip
- upgrade to db-3.3.4.
CVS patchset: 4787 CVS date: 2001/05/14 20:12:10
Diffstat (limited to 'python')
-rw-r--r--python/hash.h1
-rw-r--r--python/upgrade.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/python/hash.h b/python/hash.h
index 714cc4626..3538ed7c3 100644
--- a/python/hash.h
+++ b/python/hash.h
@@ -17,6 +17,7 @@ typedef struct ht_iterator htIterator;
struct hash_table *htNewTable(int size);
void htFreeHashTable(struct hash_table *ht);
+void htHashStats(struct hash_table *t);
int htInTable(struct hash_table *t, const char * dir, const char * base);
void htAddToTable(struct hash_table *t, const char * dir, const char * base);
void htPrintHashStats(struct hash_table *t);
diff --git a/python/upgrade.c b/python/upgrade.c
index dfd9bd014..73e9c0722 100644
--- a/python/upgrade.c
+++ b/python/upgrade.c
@@ -35,6 +35,7 @@ static void printMemStats(char *mess)
}
#endif
+int pkgCompare(void * first, void * second); /* XXX make gcc shut up. */
int pkgCompare(void * first, void * second) {
struct packageInfo ** a = first;
struct packageInfo ** b = second;