changeset 4235:cba92ec56248

[gaim-migrate @ 4481] Compile warning cleanups from Mr. Walp. My cable isn't dropping packets currently--but it will. It's only a matter of time. Speaking of time... Time Warner sucks. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 07 Jan 2003 23:58:52 +0000
parents 64d834b6caf2
children 9641bd9c79f5
files plugins/history.c src/gaim-remote.c src/protocols/msn/msn.c src/protocols/oscar/ssi.c src/protocols/zephyr/ZVariables.c src/prpl.c
diffstat 6 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/history.c	Tue Jan 07 23:24:20 2003 +0000
+++ b/plugins/history.c	Tue Jan 07 23:58:52 2003 +0000
@@ -11,6 +11,7 @@
 #include "gtkimhtml.h"
 #include <sys/stat.h>
 #include <unistd.h>
+#include <string.h>
 
 #define HISTORY_SIZE (4 * 1024)
 
--- a/src/gaim-remote.c	Tue Jan 07 23:24:20 2003 +0000
+++ b/src/gaim-remote.c	Tue Jan 07 23:58:52 2003 +0000
@@ -22,6 +22,7 @@
 #include "gaim.h"
 #include <getopt.h>
 #include <unistd.h>
+#include <string.h>
 #include "gaim-socket.h"
 
 void show_remote_usage(char *name) 
--- a/src/protocols/msn/msn.c	Tue Jan 07 23:24:20 2003 +0000
+++ b/src/protocols/msn/msn.c	Tue Jan 07 23:58:52 2003 +0000
@@ -1204,7 +1204,6 @@
 	} else if (!g_strncasecmp(buf, "INF", 3)) {
 	} else if (!g_strncasecmp(buf, "ILN", 3)) {
 		char *state, *user, *friend, *tmp = buf;
-		struct buddy *b;
 		int status = 0;
 
 		GET_NEXT(tmp);
--- a/src/protocols/oscar/ssi.c	Tue Jan 07 23:24:20 2003 +0000
+++ b/src/protocols/oscar/ssi.c	Tue Jan 07 23:58:52 2003 +0000
@@ -1131,8 +1131,8 @@
 			new->bid = cur->bid;
 			new->type = cur->type;
 			new->data = aim_tlvlist_copy(cur->data);
+			new->next = NULL;
 		}
-		new->next = NULL;
 
 		sess->ssi.received_data = 1;
 
--- a/src/protocols/zephyr/ZVariables.c	Tue Jan 07 23:24:20 2003 +0000
+++ b/src/protocols/zephyr/ZVariables.c	Tue Jan 07 23:58:52 2003 +0000
@@ -5,7 +5,7 @@
  *	Created by:	Robert French
  *
  *	$Source$
- *	$Author: robflynn $
+ *	$Author: thekingant $
  *
  *	Copyright (c) 1987 by the Massachusetts Institute of Technology.
  *	For copying and distribution information, see the file
@@ -18,6 +18,7 @@
 #endif
 
 #include <internal.h>
+#include "gaim.h"
 
 #include <ctype.h>
 #include <pwd.h>
--- a/src/prpl.c	Tue Jan 07 23:24:20 2003 +0000
+++ b/src/prpl.c	Tue Jan 07 23:58:52 2003 +0000
@@ -24,6 +24,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <string.h>
 
 #ifdef _WIN32
 #include "win32dep.h"