summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/conf.c2
-rw-r--r--src/pacman/conf.h2
-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
6 files changed, 6 insertions, 6 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 076e854d..0e7429eb 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -421,7 +421,7 @@ static int setup_libalpm(void)
{
int ret = 0;
enum _pmerrno_t err;
- pmhandle_t *handle;
+ alpm_handle_t *handle;
pm_printf(PM_LOG_DEBUG, "setup_libalpm called\n");
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index 4c44bfdd..c0f35493 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -92,7 +92,7 @@ typedef struct __config_t {
char *xfercommand;
/* our connection to libalpm */
- pmhandle_t *handle;
+ alpm_handle_t *handle;
} config_t;
/* Operations */
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;