diff src/protocols/bonjour/jabber.c @ 12443:488a305f9aff

[gaim-migrate @ 14750] Make some functions static committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 09 Dec 2005 13:01:44 +0000
parents 9cd233ea2799
children 495856ce025b
line wrap: on
line diff
--- a/src/protocols/bonjour/jabber.c	Fri Dec 09 12:52:45 2005 +0000
+++ b/src/protocols/bonjour/jabber.c	Fri Dec 09 13:01:44 2005 +0000
@@ -45,7 +45,7 @@
 #include "bonjour.h"
 #include "buddy.h"
 
-gint
+static gint
 _connect_to_buddy(GaimBuddy *gb)
 {
 	gint socket_fd;
@@ -69,7 +69,8 @@
 	return socket_fd;
 }
 
-const char *
+#if 0 /* this isn't used anywhere... */
+static const char *
 _font_size_gaim_to_ichat(int size)
 {
 	switch (size) {
@@ -91,8 +92,9 @@
 
 	return "12";
 }
+#endif
 
-const char *
+static const char *
 _font_size_ichat_to_gaim(int size)
 {
 	if (size > 24) {
@@ -111,7 +113,7 @@
 
 	return "1";
 }
-void
+static void
 _jabber_parse_and_write_message_to_ui(char *message, GaimConnection *connection, GaimBuddy *gb)
 {
 	xmlnode *body_node = NULL;
@@ -216,7 +218,7 @@
 	g_free(html_body);
 }
 
-gboolean
+static gboolean
 _check_buddy_by_address(gpointer key, gpointer value, gpointer address)
 {
 	GaimBuddy *gb = (GaimBuddy*)value;
@@ -234,7 +236,7 @@
 	}
 }
 
-gint
+static gint
 _read_data(gint socket, char **message)
 {
 	GString *data = g_string_new("");
@@ -265,7 +267,7 @@
 	return total_message_length;
 }
 
-gint
+static gint
 _send_data(gint socket, char *message)
 {
 	gint message_len = strlen(message);
@@ -285,7 +287,7 @@
 	return strlen(message);
 }
 
-void
+static void
 _client_socket_handler(gpointer data, gint socket, GaimInputCondition condition)
 {
 	char *message = NULL;
@@ -360,7 +362,7 @@
 	}
 }
 
-void
+static void
 _server_socket_handler(gpointer data, int server_socket, GaimInputCondition condition)
 {
 	GaimBuddy *gb = NULL;