diff src/plugin.c @ 5794:5e93fc46d1af

[gaim-migrate @ 6219] Removed the __ prefix from static functions. I love them, but ANSI C knocked on my door and threatened to sue, saying they own all rights to them, so I was forced to remove them. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 07 Jun 2003 07:57:24 +0000
parents 48c63ee49961
children 6aa7651c7c15
line wrap: on
line diff
--- a/src/plugin.c	Sat Jun 07 06:41:31 2003 +0000
+++ b/src/plugin.c	Sat Jun 07 07:57:24 2003 +0000
@@ -98,7 +98,7 @@
 }
 
 static gboolean
-__loader_supports_file(GaimPlugin *loader, const char *filename)
+loader_supports_file(GaimPlugin *loader, const char *filename)
 {
 	GList *l, *exts;
 	GaimPlugin *plugin;
@@ -119,7 +119,7 @@
 }
 
 static GaimPlugin *
-__find_loader_for_plugin(const GaimPlugin *plugin)
+find_loader_for_plugin(const GaimPlugin *plugin)
 {
 	GaimPlugin *loader;
 	GList *l;
@@ -131,7 +131,7 @@
 		loader = l->data;
 
 		if (loader->info->type == GAIM_PLUGIN_LOADER &&
-			__loader_supports_file(loader, plugin->path)) {
+			loader_supports_file(loader, plugin->path)) {
 
 			return loader;
 		}
@@ -213,7 +213,7 @@
 		}
 	}
 	else {
-		loader = __find_loader_for_plugin(plugin);
+		loader = find_loader_for_plugin(plugin);
 
 		if (loader == NULL) {
 			gaim_plugin_destroy(plugin);
@@ -278,7 +278,7 @@
 		GaimPlugin *loader;
 		GaimPluginLoaderInfo *loader_info;
 
-		loader = __find_loader_for_plugin(plugin);
+		loader = find_loader_for_plugin(plugin);
 
 		if (loader == NULL)
 			return FALSE;
@@ -358,7 +358,7 @@
 		GaimPlugin *loader;
 		GaimPluginLoaderInfo *loader_info;
 
-		loader = __find_loader_for_plugin(plugin);
+		loader = find_loader_for_plugin(plugin);
 
 		if (loader == NULL)
 			return FALSE;
@@ -449,7 +449,7 @@
 		GaimPlugin *loader;
 		GaimPluginLoaderInfo *loader_info;
 
-		loader = __find_loader_for_plugin(plugin);
+		loader = find_loader_for_plugin(plugin);
 
 		if (loader == NULL)
 			return;