diff src/prpl.c @ 2086:424a40f12a6c

[gaim-migrate @ 2096] moving protocols from plugins/ to src/protocols. making it so that you can select which protocols are compiled statically. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 31 Jul 2001 01:00:39 +0000
parents ddd696ccb46b
children ecd5f3d29f47
line wrap: on
line diff
--- a/src/prpl.c	Fri Jul 27 18:15:36 2001 +0000
+++ b/src/prpl.c	Tue Jul 31 01:00:39 2001 +0000
@@ -28,9 +28,6 @@
 #include "pixmaps/cancel.xpm"
 #include "pixmaps/register.xpm"
 
-extern void toc_init(struct prpl *);
-extern void oscar_init(struct prpl *);
-
 GSList *protocols = NULL;
 
 static GtkWidget *regdialog = NULL;
@@ -110,11 +107,7 @@
 	g_free(p);
 }
 
-void static_proto_init()
-{
-	load_protocol(toc_init, sizeof(struct prpl));
-	load_protocol(oscar_init, sizeof(struct prpl));
-}
+STATIC_PROTO_INIT
 
 static void des_win(GtkWidget *a, GtkWidget *b)
 {