diff src/list.c @ 3466:7a3f16a375a5

[gaim-migrate @ 3516] some patches from some people. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 29 Aug 2002 01:47:15 +0000
parents 48a2e656bdf9
children 9682c0e022c6
line wrap: on
line diff
--- a/src/list.c	Thu Aug 29 01:43:23 2002 +0000
+++ b/src/list.c	Thu Aug 29 01:47:15 2002 +0000
@@ -100,11 +100,11 @@
 	 * mostly. remove_group is only called from one place, so we'll let it handle it. */
 }
 
-struct buddy *add_buddy(struct gaim_connection *gc, char *group, char *buddy, char *show)
+struct buddy *add_buddy(struct gaim_connection *gc, const char *group, const char *buddy, const char *show)
 {
 	struct buddy *b;
 	struct group *g;
-	char *good;
+	const char *good;
 
 	if (!g_slist_find(connections, gc))
 		return NULL;
@@ -143,7 +143,7 @@
 	return b;
 }
 
-struct group *add_group(struct gaim_connection *gc, char *group)
+struct group *add_group(struct gaim_connection *gc, const char *group)
 {
 	struct group *g = find_group(gc, group);
 	if (g)
@@ -165,7 +165,7 @@
 	return g;
 }
 
-struct group *find_group(struct gaim_connection *gc, char *group)
+struct group *find_group(struct gaim_connection *gc, const char *group)
 {
 	struct group *g;
 	GSList *grp;
@@ -209,7 +209,7 @@
 	}
 }
 
-struct group *find_group_by_buddy(struct gaim_connection *gc, char *who)
+struct group *find_group_by_buddy(struct gaim_connection *gc, const char *who)
 {
 	struct group *g;
 	struct buddy *b;
@@ -273,7 +273,7 @@
 	}
 }
 
-struct buddy *find_buddy(struct gaim_connection *gc, char *who)
+struct buddy *find_buddy(struct gaim_connection *gc, const char *who)
 {
 	struct group *g;
 	struct buddy *b;
@@ -690,7 +690,7 @@
 	return ret;
 }
 
-void do_import(struct gaim_connection *gc, char *filename)
+void do_import(struct gaim_connection *gc, const char *filename)
 {
 	GString *buf = NULL;
 	char first[64];