summaryrefslogtreecommitdiff
path: root/network/irssi_otr/irssi_abi_check.diff
blob: cb5f990ff71f42ec5d77caf3594b3643ab5d702c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Naur irssi-otr-1.0.1.orig/src/module.c irssi-otr-1.0.1/src/module.c
--- irssi-otr-1.0.1.orig/src/module.c	2015-01-03 11:57:09.000000000 -0500
+++ irssi-otr-1.0.1/src/module.c	2016-07-27 02:34:27.505864619 -0400
@@ -371,3 +371,10 @@
 
 	theme_unregister();
 }
+
+#ifdef IRSSI_ABI_VERSION
+void otr_abicheck(int *version)
+{
+	    *version = IRSSI_ABI_VERSION;
+}
+#endif