From a3f9399295e6c94b7f8f8249d4a6b28e63fd2dbb Mon Sep 17 00:00:00 2001 From: Jonathan Conder Date: Sat, 29 Oct 2011 15:03:24 +1300 Subject: create a typedef for enum _alpm_errno_t This is consistent with the other enums and structs, and should be slightly more readable. Signed-off-by: Jonathan Conder Signed-off-by: Dan McGee --- src/util/pactree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/pactree.c') diff --git a/src/util/pactree.c b/src/util/pactree.c index bb15b1bb..f95c5e89 100644 --- a/src/util/pactree.c +++ b/src/util/pactree.c @@ -443,7 +443,7 @@ static void walk_deps(alpm_list_t *dblist, alpm_pkg_t *pkg, int depth) int main(int argc, char *argv[]) { int freelist = 0, ret = 0; - enum _alpm_errno_t err; + alpm_errno_t err; const char *target_name; alpm_pkg_t *pkg; alpm_list_t *dblist = NULL; -- cgit v1.2.3-70-g09d2