FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 06-07-2011, 02:02 PM
Dan McGee
 
Default 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
 

Thread Tools




All times are GMT. The time now is 12:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org