# HG changeset patch # User Mark Doliner # Date 1177917111 0 # Node ID 56f0049d32071764ce872559dc4bd82ac47f77bd # Parent 77cfd9bd653679c30676520b3820e3e83aea7cbe 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? diff -r 77cfd9bd6536 -r 56f0049d3207 libpurple/protocols/bonjour/bonjour.c --- 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 }; diff -r 77cfd9bd6536 -r 56f0049d3207 libpurple/protocols/silc/silc.c --- 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