summaryrefslogtreecommitdiff
path: root/lib/rpmdb_internal.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-31 02:48:03 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-03-31 02:48:03 +0300
commit305d2045a9dc2615aa61eb12b6a74d7d5b7e538f (patch)
treedc28269b7e29ba0c2b0008d0e94b11630de8988f /lib/rpmdb_internal.h
parent5e6079eabcd6a4ed4d4d545143e2d4c3f06cc78e (diff)
downloadlibrpm-tizen-305d2045a9dc2615aa61eb12b6a74d7d5b7e538f.tar.gz
librpm-tizen-305d2045a9dc2615aa61eb12b6a74d7d5b7e538f.tar.bz2
librpm-tizen-305d2045a9dc2615aa61eb12b6a74d7d5b7e538f.zip
Lose dbi file configuration option
- index names are rpm tag names, period - also we dont need to strdup() the tag name, rpmTagGetName() returns pointers to const strings these days
Diffstat (limited to 'lib/rpmdb_internal.h')
-rw-r--r--lib/rpmdb_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmdb_internal.h b/lib/rpmdb_internal.h
index 08f379b66..83d0e1a3d 100644
--- a/lib/rpmdb_internal.h
+++ b/lib/rpmdb_internal.h
@@ -14,7 +14,7 @@ typedef struct _dbiIndex * dbiIndex;
* Describes an index database (implemented on Berkeley db functionality).
*/
struct _dbiIndex {
- char * dbi_file; /*!< file component of path */
+ const char * dbi_file; /*!< file component of path */
int dbi_ecflags; /*!< db_env_create flags */
int dbi_cflags; /*!< db_create flags */