comparison src/gtkimhtml.c @ 12412:a88ca6da0b38

[gaim-migrate @ 14719] Make some functions static. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 08 Dec 2005 21:00:39 +0000
parents 3726ff9022f3
children 9d7fb0b21d9f
comparison
equal deleted inserted replaced
12411:8c339d9f1bb4 12412:a88ca6da0b38
2231 2231
2232 static const int accepted_protocols_size = 3; 2232 static const int accepted_protocols_size = 3;
2233 2233
2234 /* returns if the beginning of the text is a protocol. If it is the protocol, returns the length so 2234 /* returns if the beginning of the text is a protocol. If it is the protocol, returns the length so
2235 the caller knows how long the protocol string is. */ 2235 the caller knows how long the protocol string is. */
2236 int gtk_imhtml_is_protocol(const char *text) 2236 static int gtk_imhtml_is_protocol(const char *text)
2237 { 2237 {
2238 gint i; 2238 gint i;
2239 2239
2240 for(i=0; i<accepted_protocols_size; i++){ 2240 for(i=0; i<accepted_protocols_size; i++){
2241 if( strncasecmp(text, accepted_protocols[i], strlen(accepted_protocols[i])) == 0 ){ 2241 if( strncasecmp(text, accepted_protocols[i], strlen(accepted_protocols[i])) == 0 ){