changeset 13250:58b8e87ad657

[gaim-migrate @ 15616] compare_plugins() is only used if GAIM_PLUGINS is defined committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Sun, 12 Feb 2006 18:21:58 +0000
parents 65a7de0f59ff
children a2ccce52ab3d
files src/plugin.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugin.c	Sun Feb 12 17:26:06 2006 +0000
+++ b/src/plugin.c	Sun Feb 12 18:21:58 2006 +0000
@@ -467,6 +467,7 @@
 #endif /* !GAIM_PLUGINS */
 }
 
+#ifdef GAIM_PLUGINS
 static gint
 compare_plugins(gconstpointer a, gconstpointer b)
 {
@@ -475,6 +476,7 @@
 
 	return strcmp(plugina->info->name, pluginb->info->name);
 }
+#endif /* GAIM_PLUGINS */
 
 gboolean
 gaim_plugin_load(GaimPlugin *plugin)