diff src/plugin.c @ 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 7fd39c81d5e9
children 10c26505d6db
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)