summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-12-22 19:38:55 +0000
committerAaron Griffin <aaron@archlinux.org>2006-12-22 19:38:55 +0000
commite3aace4a4d821d388a40545d6497069a973636d8 (patch)
treea5043edfd56135b43162587c34669515ed3ba613 /lib/libalpm/alpm.h
parentd8d82215561305cb7af0a33d7810cbb9cadb2cea (diff)
downloadpacman-e3aace4a4d821d388a40545d6497069a973636d8.tar.xz
Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel <juergen@hoetzel.info>
* configure swig check * misc libalpm cleanup
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h6
1 files changed, 4 insertions, 2 deletions
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);