From 64c1cf792184661a1d3dd73329f129172e688f17 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 28 Jun 2011 14:04:00 +1000 Subject: Rename pmhandle_t to alpm_handle_t Signed-off-by: Allan McRae --- src/pacman/conf.c | 2 +- src/pacman/conf.h | 2 +- src/util/cleanupdelta.c | 2 +- src/util/pactree.c | 2 +- src/util/testdb.c | 2 +- src/util/testpkg.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2