index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-12-22 19:38:55 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-12-22 19:38:55 +0000 |
commit | e3aace4a4d821d388a40545d6497069a973636d8 (patch) | |
tree | a5043edfd56135b43162587c34669515ed3ba613 /lib/libalpm/alpm.h | |
parent | d8d82215561305cb7af0a33d7810cbb9cadb2cea (diff) |
-rw-r--r-- | lib/libalpm/alpm.h | 6 |
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 2f35ad6f..143f3367 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -399,7 +399,7 @@ char *alpm_get_sha1sum(char *name); /* * Errors */ -extern enum __pmerrno_t { +enum __pmerrno_t { PM_ERR_MEMORY = 1, PM_ERR_SYSTEM, PM_ERR_BADPERMS, @@ -469,7 +469,9 @@ extern enum __pmerrno_t { /* Downloading */ PM_ERR_CONNECT_FAILED, PM_ERR_FORK_FAILED -} pm_errno; +}; + +extern enum __pmerrno_t pm_errno; char *alpm_strerror(int err); |