From 64d36db5f45db15997c6a3987d6f4b0ce147df27 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 3 Jun 2007 23:57:38 -0400 Subject: 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 --- lib/libalpm/alpm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libalpm/alpm.h') 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 -- cgit v1.2.3-24-g4f1b