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 04:01 AM.

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