summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/cleanupdelta.c2
-rw-r--r--src/util/pactree.c2
-rw-r--r--src/util/testdb.c2
-rw-r--r--src/util/testpkg.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/util/cleanupdelta.c b/src/util/cleanupdelta.c
index 5ee59dbb..80fcec3d 100644
--- a/src/util/cleanupdelta.c
+++ b/src/util/cleanupdelta.c
@@ -29,7 +29,7 @@
#define BASENAME "cleanupdelta"
-pmhandle_t *handle = NULL;
+alpm_handle_t *handle = NULL;
static void cleanup(int signum) {
if(handle && alpm_release(handle) == -1) {
diff --git a/src/util/pactree.c b/src/util/pactree.c
index 5beaa5a7..35ef9439 100644
--- a/src/util/pactree.c
+++ b/src/util/pactree.c
@@ -76,7 +76,7 @@ static struct color_choices no_color = {
};
/* globals */
-pmhandle_t *handle = NULL;
+alpm_handle_t *handle = NULL;
alpm_list_t *walked = NULL;
alpm_list_t *provisions = NULL;
diff --git a/src/util/testdb.c b/src/util/testdb.c
index af5007e2..ca007454 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -31,7 +31,7 @@
#define BASENAME "testdb"
-pmhandle_t *handle = NULL;
+alpm_handle_t *handle = NULL;
static void cleanup(int signum) {
if(handle && alpm_release(handle) == -1) {
diff --git a/src/util/testpkg.c b/src/util/testpkg.c
index d4d058d8..93d3fccd 100644
--- a/src/util/testpkg.c
+++ b/src/util/testpkg.c
@@ -40,7 +40,7 @@ static void output_cb(pmloglevel_t level, const char *fmt, va_list args)
int main(int argc, char *argv[])
{
int retval = 1; /* default = false */
- pmhandle_t *handle;
+ alpm_handle_t *handle;
enum _pmerrno_t err;
pmpkg_t *pkg = NULL;