summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 14:04:00 +1000
committerAllan McRae <allan@archlinux.org>2011-06-28 14:04:00 +1000
commit64c1cf792184661a1d3dd73329f129172e688f17 (patch)
treee888776aa3cfadb6854fc1b4b3703f46a9ef27d8 /src/util
parent1c5c7c907c8cfb26c129d60d919c837ff42ca1c5 (diff)
Rename pmhandle_t to alpm_handle_t
Signed-off-by: Allan McRae <allan@archlinux.org>
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;