Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/pkghash.h
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-02-25 09:11:37 -0500
committerDan McGee <dan@archlinux.org>2011-02-25 09:45:13 -0600
commiteefe8c83644892b963b1b4e5fbe297fa4be1f119 (patch)
tree9878cf0af39f5f8324e83bfc918b400b5c03d0c2 /lib/libalpm/pkghash.h
parentab49bf6fa9df6daf7210c28ddfcf013ee9fe4386 (diff)
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 <d@falconindy.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/pkghash.h')
-rw-r--r--lib/libalpm/pkghash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/pkghash.h b/lib/libalpm/pkghash.h
index a6c1db71..617e60bd 100644
--- a/lib/libalpm/pkghash.h
+++ b/lib/libalpm/pkghash.h
@@ -43,6 +43,8 @@ struct __pmpkghash_t {
alpm_list_t *list;
};
+typedef struct __pmpkghash_t pmpkghash_t;
+
pmpkghash_t *_alpm_pkghash_create(size_t size);
pmpkghash_t *_alpm_pkghash_add(pmpkghash_t *hash, pmpkg_t *pkg);