/soc/2013/ankitkv/gobjectification: 075cb0ede3ae: Removed intern...
Ankit Vani
a at nevitus.org
Sun Sep 22 09:26:35 EDT 2013
Changeset: 075cb0ede3ae107d573c85223be5bbc8f7308c6b
Author: Ankit Vani <a at nevitus.org>
Date: 2013-09-22 18:46 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/075cb0ede3ae
Description:
Removed internal.h from caesar cipher plugins
diffstat:
libpurple/plugins/caesarcipher.c | 1 -
libpurple/plugins/caesarcipher.h | 16 ++++++++++++++++
libpurple/plugins/caesarcipher_consumer.c | 1 -
3 files changed, 16 insertions(+), 2 deletions(-)
diffs (48 lines):
diff --git a/libpurple/plugins/caesarcipher.c b/libpurple/plugins/caesarcipher.c
--- a/libpurple/plugins/caesarcipher.c
+++ b/libpurple/plugins/caesarcipher.c
@@ -23,7 +23,6 @@
* 02111-1301, USA.
*/
-#include "internal.h"
#include "caesarcipher.h"
#define CAESAR_CIPHER_GET_PRIVATE(obj) \
diff --git a/libpurple/plugins/caesarcipher.h b/libpurple/plugins/caesarcipher.h
--- a/libpurple/plugins/caesarcipher.h
+++ b/libpurple/plugins/caesarcipher.h
@@ -23,6 +23,22 @@
#ifndef _CAESAR_CIPHER_H_
#define _CAESAR_CIPHER_H_
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifndef G_GNUC_NULL_TERMINATED
+# if __GNUC__ >= 4
+# define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__))
+# else
+# define G_GNUC_NULL_TERMINATED
+# endif
+#endif
+
+#ifndef PURPLE_PLUGINS
+# define PURPLE_PLUGINS
+#endif
+
#include "cipher.h"
#include "plugins.h"
diff --git a/libpurple/plugins/caesarcipher_consumer.c b/libpurple/plugins/caesarcipher_consumer.c
--- a/libpurple/plugins/caesarcipher_consumer.c
+++ b/libpurple/plugins/caesarcipher_consumer.c
@@ -23,7 +23,6 @@
* 02111-1301, USA.
*/
-#include "internal.h"
#include "caesarcipher.h"
static void
More information about the Commits
mailing list