summaryrefslogtreecommitdiff
path: root/rpmdb/sqlite.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-13 19:32:37 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-13 19:32:37 +0200
commit7e56c6355bea552d89e8d5d0a317763a8cee4a4f (patch)
treec18ddebb9e8e6da144d00909c61fdcecdf718057 /rpmdb/sqlite.c
parentcbd7a684a4cd88bfa3383658790be3c37230707a (diff)
downloadlibrpm-tizen-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.tar.gz
librpm-tizen-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.tar.bz2
librpm-tizen-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.zip
Use rpm_tag_t everywhere for rpm (header) tag type
- typedef'ed as int32_t for now, negative values used in some places for error cases - easy to grep, easy to change... - add RPMTAG_NOT_FOUND define, used in place of -1 "magic",
Diffstat (limited to 'rpmdb/sqlite.c')
-rw-r--r--rpmdb/sqlite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdb/sqlite.c b/rpmdb/sqlite.c
index 07e551241..5e52ae0ff 100644
--- a/rpmdb/sqlite.c
+++ b/rpmdb/sqlite.c
@@ -766,7 +766,7 @@ leaveChroot(dbi);
* @param dbip
* @return 0 on success
*/
-static int sql_open(rpmdb rpmdb, rpmTag rpmtag, dbiIndex * dbip)
+static int sql_open(rpmdb rpmdb, rpm_tag_t rpmtag, dbiIndex * dbip)
{
extern struct _dbiVec sqlitevec;