From eefe8c83644892b963b1b4e5fbe297fa4be1f119 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 25 Feb 2011 09:11:37 -0500 Subject: alpm: remove public visibility of pmpkghash_t There's no API functions exposed which allow manipulation of this type, so remove it from public view. Also, rename the public and private alpm_db_get_pkgcache symbol to alpm_db_get_pkgcache_has. Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- lib/libalpm/alpm.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libalpm/alpm.h') diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 8e1e022a..9ce00678 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -52,7 +52,6 @@ typedef struct __pmdepend_t pmdepend_t; typedef struct __pmdepmissing_t pmdepmissing_t; typedef struct __pmconflict_t pmconflict_t; typedef struct __pmfileconflict_t pmfileconflict_t; -typedef struct __pmpkghash_t pmpkghash_t; /* * Library @@ -187,7 +186,6 @@ int alpm_db_setserver(pmdb_t *db, const char *url); int alpm_db_update(int level, pmdb_t *db); pmpkg_t *alpm_db_get_pkg(pmdb_t *db, const char *name); -pmpkghash_t *alpm_db_get_pkgcache(pmdb_t *db); alpm_list_t *alpm_db_get_pkgcache_list(pmdb_t *db); pmgrp_t *alpm_db_readgrp(pmdb_t *db, const char *name); -- cgit v1.2.3-24-g4f1b