Update utilities for new initialize/release methods
On Fri, Jun 3, 2011 at 6:05 PM, Allan McRae <allan@archlinux.org> wrote:
> On 04/06/11 08:41, Dan McGee wrote:
>>
>> Signed-off-by: Dan McGee<dan@archlinux.org>
>> ---
>> Â*src/util/cleanupdelta.c | Â* 14 ++++++++------
>> Â*src/util/pactree.c Â* Â* Â*| Â* 23 +++++++----------------
>> Â*src/util/testdb.c Â* Â* Â* | Â* 17 ++++++++---------
>> Â*src/util/testpkg.c Â* Â* Â*| Â* 11 +++++++----
>> Â*4 files changed, 30 insertions(+), 35 deletions(-)
>>
> <snip>
>>
>> diff --git a/src/util/pactree.c b/src/util/pactree.c
>> index e9a2816..23e0562 100644
>> --- a/src/util/pactree.c
>> +++ b/src/util/pactree.c
>> @@ -74,6 +74,7 @@ static struct color_choices no_color = {
>> Â*};
>>
>> Â*/* globals */
>> +pmhandle_t *handle = NULL;
>> Â*pmdb_t *db_local;
>> Â*alpm_list_t *walked = NULL;
>> Â*alpm_list_t *provisions = NULL;
>> @@ -87,23 +88,13 @@ int reverse = 0;
>> Â*int unique = 0;
>> Â*const char *dbpath = DBPATH;
>>
>> -static int alpm_local_init(void)
>> +static int alpm_local_init()
>
>
> pactree.c:91:12: error: function declaration isn’t a prototype
> [-Werror=strict-prototypes]
Fail on my part after some numerous refactoring passes, whoops. I'll
fix this up, thanks for noticing!
-Dan
|