Avoiding a few more compilation warnings

This commit is contained in:
Pierre Pronchery 2013-01-03 19:07:03 +01:00
parent 7af43077f5
commit 59c8dcfc2d

View File

@ -1,5 +1,5 @@
/* $Id$ */ /* $Id$ */
/* Copyright (c) 2012 Pierre Pronchery <khorben@defora.org> */ /* Copyright (c) 2012-2013 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Desktop Mailer */ /* This file is part of DeforaOS Desktop Mailer */
/* This program is free software: you can redistribute it and/or modify /* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -18,6 +18,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#define _AccountFolder _MailerFolder
#define _AccountMessage _MailerMessage
#include "../src/account/imap4.c" #include "../src/account/imap4.c"
@ -35,7 +37,7 @@ static int _imap4_status(char const * progname, char const * title,
/* helpers */ /* helpers */
static void _helper_event(Account * account, AccountEvent * event); static void _helper_event(Account * account, AccountEvent * event);
static Folder * _helper_folder_new(Account * account, AccountFolder * folder, static Folder * _helper_folder_new(Account * account, AccountFolder * folder,
Folder * parent, FolderType type, char const * Name); Folder * parent, FolderType type, char const * name);
static Message * _helper_message_new(Account * account, Folder * folder, static Message * _helper_message_new(Account * account, Folder * folder,
AccountMessage * message); AccountMessage * message);
@ -144,7 +146,7 @@ static void _helper_event(Account * account, AccountEvent * event)
/* helper_folder_new */ /* helper_folder_new */
static Folder * _helper_folder_new(Account * account, AccountFolder * folder, static Folder * _helper_folder_new(Account * account, AccountFolder * folder,
Folder * parent, FolderType type, char const * Name) Folder * parent, FolderType type, char const * name)
{ {
static AccountFolder af; static AccountFolder af;