diff options
author | Jonathan Conder <jonno.conder@gmail.com> | 2011-10-29 15:03:24 +1300 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-14 08:54:03 -0600 |
commit | a3f9399295e6c94b7f8f8249d4a6b28e63fd2dbb (patch) | |
tree | 6d72f08e73177a8f33661387e4381126db4f2dba /src/util/testpkg.c | |
parent | 1de5070bb39e56ee9ce381b0cc40752eaed60783 (diff) |
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 <jonno.conder@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/testpkg.c')
-rw-r--r-- | src/util/testpkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/testpkg.c b/src/util/testpkg.c index 90758e16..6385e417 100644 --- a/src/util/testpkg.c +++ b/src/util/testpkg.c @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) { int retval = 1; /* default = false */ alpm_handle_t *handle; - enum _alpm_errno_t err; + alpm_errno_t err; alpm_pkg_t *pkg = NULL; const alpm_siglevel_t level = ALPM_SIG_PACKAGE | ALPM_SIG_PACKAGE_OPTIONAL; |