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 --- lib/libalpm/handle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/handle.c') diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 7402be50..01f59555 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -339,7 +339,7 @@ static char *canonicalize_path(const char *path) { return new_path; } -enum _alpm_errno_t _alpm_set_directory_option(const char *value, +alpm_errno_t _alpm_set_directory_option(const char *value, char **storage, int must_exist) { struct stat st; -- cgit v1.2.3-24-g4f1b