- 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.
#define UNINSTALL_NODEPS INSTALL_NODEPS
#define UNINSTALL_ALLMATCHES INSTALL_ALLMATCHES
#define UNINSTALL_NODEPS INSTALL_NODEPS
#define UNINSTALL_ALLMATCHES INSTALL_ALLMATCHES
-extern int rpmcliPackagesTotal;
-extern int rpmcliHashesCurrent;
-extern int rpmcliHashesTotal;
-extern int rpmcliProgressCurrent;
-extern int rpmcliProgressTotal;
-
/** \ingroup rpmcli
* The rpm CLI generic transaction callback handler.
* @todo Remove headerFormat() from the progress callback.
/** \ingroup rpmcli
* The rpm CLI generic transaction callback handler.
* @todo Remove headerFormat() from the progress callback.
#include "lib/manifest.h"
#include "debug.h"
#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.
/**
* Print a CLI progress bar.