diff -r de6836a8b324 -r 54ebd3dcae16 libpurple/plugins/helloworld.c --- a/libpurple/plugins/helloworld.c Mon Sep 23 13:50:52 2013 +0530 +++ b/libpurple/plugins/helloworld.c Mon Sep 23 14:03:05 2013 +0530 @@ -21,31 +21,8 @@ * */ -#ifdef HAVE_CONFIG_H -# include -#endif - -/* config.h may define PURPLE_PLUGINS; protect the definition here so that we - * don't get complaints about redefinition when it's not necessary. */ -#ifndef PURPLE_PLUGINS -# define PURPLE_PLUGINS -#endif - -#include - -/* 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 -# if __GNUC__ >= 4 -# define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) -# else -# define G_GNUC_NULL_TERMINATED -# endif -#endif - -#include -#include -#include +/* This file defines PURPLE_PLUGINS and includes all the libpurple headers */ +#include /* This function is the callback for the plugin action we added. All we're * doing here is displaying a message. When the user selects the plugin