Mercurial > pidgin
changeset 16702:56f0049d3207
Add padding to silc and bonjour to get rid of a bunch of warnings.
What's the reasoning behind this padding again? So that we don't
break binary compatibility across minor versions?
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 30 Apr 2007 07:11:51 +0000 |
parents | 77cfd9bd6536 |
children | a73c9decc420 |
files | libpurple/protocols/bonjour/bonjour.c libpurple/protocols/silc/silc.c |
diffstat | 2 files changed, 31 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/bonjour.c Mon Apr 30 07:03:10 2007 +0000 +++ b/libpurple/protocols/bonjour/bonjour.c Mon Apr 30 07:11:51 2007 +0000 @@ -405,6 +405,12 @@ NULL, /* whiteboard_prpl_ops */ NULL, /* send_raw */ NULL, /* roomlist_room_serialize */ + + /* padding */ + NULL, + NULL, + NULL, + NULL }; static PurplePluginInfo info = @@ -435,6 +441,12 @@ NULL, /**< ui_info */ &prpl_info, /**< extra_info */ NULL, /**< prefs_info */ + NULL, + + /* padding */ + NULL, + NULL, + NULL, NULL };
--- a/libpurple/protocols/silc/silc.c Mon Apr 30 07:03:10 2007 +0000 +++ b/libpurple/protocols/silc/silc.c Mon Apr 30 07:11:51 2007 +0000 @@ -1716,6 +1716,12 @@ silcpurple_wb_set_brush, silcpurple_wb_send, silcpurple_wb_clear, + + /* padding */ + NULL, + NULL, + NULL, + NULL }; static PurplePluginProtocolInfo prpl_info = @@ -1796,6 +1802,12 @@ &silcpurple_wb_ops, /* whiteboard_prpl_ops */ NULL, /* send_raw */ NULL, /* roomlist_room_serialize */ + + /* padding */ + NULL, + NULL, + NULL, + NULL }; static PurplePluginInfo info = @@ -1826,7 +1838,13 @@ NULL, /**< ui_info */ &prpl_info, /**< extra_info */ NULL, /**< prefs_info */ - silcpurple_actions + silcpurple_actions, + + /* padding */ + NULL, + NULL, + NULL, + NULL }; static void