summaryrefslogtreecommitdiff
path: root/lib/rpminstall.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-01-03 11:56:37 +0200
committerPanu Matilainen <pmatilai@redhat.com>2012-01-03 12:12:12 +0200
commitc4b78515d68fce43bf08c2ed0cdc0703713385b1 (patch)
tree31d595c8d61668782afdaec9e8dcde09d0994d27 /lib/rpminstall.c
parent4c022382384f01c73eb5112160c436960e7a74f5 (diff)
downloadlibrpm-tizen-c4b78515d68fce43bf08c2ed0cdc0703713385b1.tar.gz
librpm-tizen-c4b78515d68fce43bf08c2ed0cdc0703713385b1.tar.bz2
librpm-tizen-c4b78515d68fce43bf08c2ed0cdc0703713385b1.zip
Eliminate rpm cli callback internals from the API
- rpmcliHashes*, and rpmcliProgress* and rpmcliPackagesTotal are implementation details of rpmShowProgress() and are useless outside of it. Make them static, these shouldn't have been exported to begin with.
Diffstat (limited to 'lib/rpminstall.c')
-rw-r--r--lib/rpminstall.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c
index 6082db026..7573c2448 100644
--- a/lib/rpminstall.c
+++ b/lib/rpminstall.c
@@ -17,11 +17,11 @@
#include "lib/manifest.h"
#include "debug.h"
-int rpmcliPackagesTotal = 0;
-int rpmcliHashesCurrent = 0;
-int rpmcliHashesTotal = 0;
-int rpmcliProgressCurrent = 0;
-int rpmcliProgressTotal = 0;
+static int rpmcliPackagesTotal = 0;
+static int rpmcliHashesCurrent = 0;
+static int rpmcliHashesTotal = 0;
+static int rpmcliProgressCurrent = 0;
+static int rpmcliProgressTotal = 0;
/**
* Print a CLI progress bar.