diff mcabber/src/roster.c @ 336:eb994ee40029

Make some functions static
author Mikael Berthe <mikael@lilotux.net>
date Mon, 18 Jul 2005 21:27:08 +0100
parents 1510dda4ad71
children 33b8e801ffa6
line wrap: on
line diff
--- a/mcabber/src/roster.c	Mon Jul 18 20:10:36 2005 +0100
+++ b/mcabber/src/roster.c	Mon Jul 18 21:27:08 2005 +0100
@@ -52,14 +52,14 @@
 /* ### Roster functions ### */
 
 // Comparison function used to search in the roster (compares jids and types)
-gint roster_compare_jid_type(roster *a, roster *b) {
+static gint roster_compare_jid_type(roster *a, roster *b) {
   if (! (a->type & b->type))
     return -1; // arbitrary (but should be != , of course)
   return strcasecmp(a->jid, b->jid);
 }
 
 // Comparison function used to sort the roster (by name)
-gint roster_compare_name(roster *a, roster *b) {
+static gint roster_compare_name(roster *a, roster *b) {
   return strcasecmp(a->name, b->name);
 }