diff options
author | Dan McGee <dan@archlinux.org> | 2007-06-04 05:57:38 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-05 04:52:04 +0200 |
commit | 64d36db5f45db15997c6a3987d6f4b0ce147df27 (patch) | |
tree | d18340215958e82d4a9a30ec491d5ee2219645ba /lib/libalpm/alpm.h | |
parent | e0afe6e94a71a6aeb964e9624c2df4f4a2821704 (diff) | |
download | pacman-64d36db5f45db15997c6a3987d6f4b0ce147df27.tar.gz pacman-64d36db5f45db15997c6a3987d6f4b0ce147df27.tar.xz |
Move functions out of alpm.c to where they belong
alpm.h is the only "publically viewable" file, so there is no reason to have
functions in alpm.c that belong in package.c, db.c, etc. Move the functions
where they belong and leave only the library init functions in alpm.c.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 4c210562..66711c1f 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -178,6 +178,8 @@ pmgrp_t *alpm_db_readgrp(pmdb_t *db, const char *name); alpm_list_t *alpm_db_getgrpcache(pmdb_t *db); alpm_list_t *alpm_db_search(pmdb_t *db, alpm_list_t* needles); +alpm_list_t *alpm_db_get_upgrades(); + /* * Packages */ @@ -478,8 +480,6 @@ extern enum _pmerrno_t pm_errno; char *alpm_strerror(int err); -alpm_list_t *alpm_get_upgrades(); - #ifdef __cplusplus } #endif |