changeset 20438:0d67ac110e2b

Make a couple more functions static
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 27 May 2007 11:23:09 +0000
parents 8e722e947e00
children bee467c81570
files libpurple/protocols/msn/command.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/command.c	Sat May 26 18:09:07 2007 +0000
+++ b/libpurple/protocols/msn/command.c	Sun May 27 11:23:09 2007 +0000
@@ -25,8 +25,8 @@
 #include "command.h"
 
 /*local Function prototype*/
-int msn_get_payload_position(char *str);
-int msn_set_payload_len(MsnCommand *cmd);
+static int msn_get_payload_position(char *str);
+static int msn_set_payload_len(MsnCommand *cmd);
 
 static gboolean
 is_num(char *str)
@@ -67,7 +67,7 @@
 }
 
 /*get the payload positon*/
-int msn_get_payload_position(char *str)
+static int msn_get_payload_position(char *str)
 {
 	/*because MSG has "MSG hotmail hotmail [payload length]"*/
 	if(!(strcmp(str,"MSG"))|| (!strcmp(str,"UBX")) ){
@@ -85,7 +85,7 @@
 /*
  * set command Payload length
  */
-int
+static int
 msn_set_payload_len(MsnCommand *cmd)
 {
 	char * param;