--- a/libpurple/plugins/debug_example.c Mon Sep 17 04:29:46 2007 +0000
+++ b/libpurple/plugins/debug_example.c Mon Sep 17 04:50:24 2007 +0000
@@ -27,6 +27,16 @@
/* We're including glib.h again for the gboolean type. */
+/* This will prevent compiler errors in some instances and is better explained in the + * how-to documents on the wiki */ +#ifndef G_GNUC_NULL_TERMINATED +# define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) +# define G_GNUC_NULL_TERMINATED /* This is the required definition of PURPLE_PLUGINS as required for a plugin,
* but we protect it with an #ifndef because config.h may define it for us
* already and this would cause an unneeded compiler warning. */
--- a/libpurple/plugins/helloworld.c Mon Sep 17 04:29:46 2007 +0000
+++ b/libpurple/plugins/helloworld.c Mon Sep 17 04:50:24 2007 +0000
@@ -33,6 +33,16 @@
+/* This will prevent compiler errors in some instances and is better explained in the + * how-to documents on the wiki */ +#ifndef G_GNUC_NULL_TERMINATED +# define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) +# define G_GNUC_NULL_TERMINATED --- a/libpurple/plugins/notify_example.c Mon Sep 17 04:29:46 2007 +0000
+++ b/libpurple/plugins/notify_example.c Mon Sep 17 04:50:24 2007 +0000
@@ -26,6 +26,16 @@
+/* This will prevent compiler errors in some instances and is better explained in the + * how-to documents on the wiki */ +#ifndef G_GNUC_NULL_TERMINATED +# define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) +# define G_GNUC_NULL_TERMINATED /* This is the required definition of PURPLE_PLUGINS as required for a plugin,
* but we protect it with an #ifndef because config.h may define it for us
* already and this would cause an unneeded compiler warning. */