summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-05-13 19:03:54 -0500
committerDan McGee <dan@archlinux.org>2008-05-13 19:03:54 -0500
commitdd98aa8564a21ed43782704bf9feb5b2b114825f (patch)
tree685c35186dc19109865957abc5f384dd606d3df9 /lib/libalpm/package.h
parenta422f6e39c9c60b89269c2b09e697a9eb142b904 (diff)
downloadpacman-dd98aa8564a21ed43782704bf9feb5b2b114825f.tar.xz
Simplify _alpm_pkg_new()
Any real call of this function doesn't specify a name or version ahead of time, so just kill that functionality off. Now to remove those dummy packages... Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index e1847ec7..ccb1c3b6 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -75,7 +75,7 @@ struct __pmpkg_t {
};
int _alpm_versioncmp(const char *a, const char *b);
-pmpkg_t* _alpm_pkg_new(const char *name, const char *version);
+pmpkg_t* _alpm_pkg_new(void);
pmpkg_t *_alpm_pkg_dup(pmpkg_t *pkg);
void _alpm_pkg_free(pmpkg_t *pkg);
int _alpm_pkg_cmp(const void *p1, const void *p2);