changeset 16719:d638845509fd

Add padding to structs as necessary to silence compiler warnings
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 30 Apr 2007 17:53:27 +0000
parents 97b359b04999
children dc6903cc63b3
files libpurple/plugins/ciphertest.c libpurple/plugins/codeinline.c libpurple/plugins/perl/perl.c libpurple/plugins/pluginpref_example.c libpurple/plugins/signals-test.c libpurple/plugins/simple.c
diffstat 6 files changed, 37 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/ciphertest.c	Mon Apr 30 17:46:14 2007 +0000
+++ b/libpurple/plugins/ciphertest.c	Mon Apr 30 17:53:27 2007 +0000
@@ -277,6 +277,11 @@
 	NULL,												/**< ui_info        */
 	NULL,												/**< extra_info     */
 	NULL,
+	NULL,
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
 	NULL
 };
 
--- a/libpurple/plugins/codeinline.c	Mon Apr 30 17:46:14 2007 +0000
+++ b/libpurple/plugins/codeinline.c	Mon Apr 30 17:53:27 2007 +0000
@@ -82,6 +82,11 @@
      NULL,
      NULL,
      NULL,
+     NULL,
+	 /* padding */
+     NULL,
+     NULL,
+     NULL,
      NULL
 };
 
--- a/libpurple/plugins/perl/perl.c	Mon Apr 30 17:46:14 2007 +0000
+++ b/libpurple/plugins/perl/perl.c	Mon Apr 30 17:53:27 2007 +0000
@@ -103,7 +103,12 @@
 {
 	purple_perl_get_plugin_frame,
 	0,   /* page_num (Reserved) */
-	NULL /* frame (Reserved)    */
+	NULL, /* frame (Reserved)    */
+	/* Padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 #ifdef PURPLE_GTKPERL
--- a/libpurple/plugins/pluginpref_example.c	Mon Apr 30 17:46:14 2007 +0000
+++ b/libpurple/plugins/pluginpref_example.c	Mon Apr 30 17:53:27 2007 +0000
@@ -110,7 +110,12 @@
 static PurplePluginUiInfo prefs_info = {
 	get_plugin_pref_frame,
 	0,   /* page_num (Reserved) */
-	NULL /* frame (Reserved) */
+	NULL, /* frame (Reserved) */
+	/* Padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 static PurplePluginInfo info =
@@ -141,6 +146,11 @@
 	NULL,                                             /**< ui_info        */
 	NULL,                                             /**< extra_info     */
 	&prefs_info,                                      /**< prefs_info     */
+	NULL,                                             /**< actions        */
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
 	NULL
 };
 
--- a/libpurple/plugins/signals-test.c	Mon Apr 30 17:46:14 2007 +0000
+++ b/libpurple/plugins/signals-test.c	Mon Apr 30 17:53:27 2007 +0000
@@ -697,6 +697,11 @@
 	NULL,                                             /**< ui_info        */
 	NULL,                                             /**< extra_info     */
 	NULL,
+	NULL,
+	/* Padding */
+	NULL,
+	NULL,
+	NULL,
 	NULL
 };
 
--- a/libpurple/plugins/simple.c	Mon Apr 30 17:46:14 2007 +0000
+++ b/libpurple/plugins/simple.c	Mon Apr 30 17:53:27 2007 +0000
@@ -50,6 +50,11 @@
 	NULL,                                             /**< ui_info        */
 	NULL,                                             /**< extra_info     */
 	NULL,
+	NULL,
+	/* Padding */
+	NULL,
+	NULL,
+	NULL,
 	NULL
 };