summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-06-06 13:09:15 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-06-06 13:09:15 +0300
commit1bdfeb3fb5c4ecba448e238fce85c56a3d5f127a (patch)
treec4d3d1a604d84eaee1df8fc8893483ed57c3305a
parente2f879fedc59b6b64d30cf8186a457521ead8e81 (diff)
downloadlibrpm-tizen-1bdfeb3fb5c4ecba448e238fce85c56a3d5f127a.tar.gz
librpm-tizen-1bdfeb3fb5c4ecba448e238fce85c56a3d5f127a.tar.bz2
librpm-tizen-1bdfeb3fb5c4ecba448e238fce85c56a3d5f127a.zip
Cosmetics: function blocks start on a new line
-rw-r--r--lib/rpmdb.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index b5c213c75..7bb706802 100644
--- a/lib/rpmdb.c
+++ b/lib/rpmdb.c
@@ -417,22 +417,26 @@ static int dbiPruneSet(dbiIndexSet set, void * recs, int nrecs,
}
/* Count items in index database set. */
-static unsigned int dbiIndexSetCount(dbiIndexSet set) {
+static unsigned int dbiIndexSetCount(dbiIndexSet set)
+{
return set->count;
}
/* Return record offset of header from element in index database set. */
-static unsigned int dbiIndexRecordOffset(dbiIndexSet set, int recno) {
+static unsigned int dbiIndexRecordOffset(dbiIndexSet set, int recno)
+{
return set->recs[recno].hdrNum;
}
/* Return file index from element in index database set. */
-static unsigned int dbiIndexRecordFileNumber(dbiIndexSet set, int recno) {
+static unsigned int dbiIndexRecordFileNumber(dbiIndexSet set, int recno)
+{
return set->recs[recno].tagNum;
}
/* Destroy set of index database items */
-static dbiIndexSet dbiFreeIndexSet(dbiIndexSet set) {
+static dbiIndexSet dbiFreeIndexSet(dbiIndexSet set)
+{
if (set) {
set->recs = _free(set->recs);
set = _free(set);