diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-10-10 15:03:35 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-10-10 15:03:35 +0000 |
commit | 6b7b9787d52ac5e7f36ba18f697bb727d43c4915 (patch) | |
tree | deed2b10bd0519d6b7c86d5cadc825518c836217 /lib/libalpm/alpm.h | |
parent | 5d61a44759dee774e67178097c2f8acffe12836f (diff) | |
download | pacman-6b7b9787d52ac5e7f36ba18f697bb727d43c4915.tar.xz |
- more sanity checks
- alpm_pkg_free can now return an error code
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 3ab747e3..a6bdf384 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -156,7 +156,7 @@ enum { void *alpm_pkg_getinfo(PM_PKG *pkg, unsigned char parm); int alpm_pkg_load(char *filename, PM_PKG **pkg); -void alpm_pkg_free(PM_PKG *pkg); +int alpm_pkg_free(PM_PKG *pkg); int alpm_pkg_vercmp(const char *ver1, const char *ver2); /* |