[kaffe] CVS kaffe (robilad): fixed small compiler warnings

Kaffe CVS cvs-commits at kaffe.org
Sat Mar 4 12:15:51 PST 2006


PatchSet 7136 
Date: 2006/03/04 19:41:20
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
fixed small compiler warnings

2006-03-04  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/kaffevm/jit3/constpool.c: Added missing machine.h
        include.

        * replace/ifaddrs.h: Define __THROW away if it is not defined
        to fix compiler warning.

Members: 
	ChangeLog:1.4654->1.4655 
	kaffe/kaffevm/jit3/constpool.c:1.17->1.18 
	replace/ifaddrs.h:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4654 kaffe/ChangeLog:1.4655
--- kaffe/ChangeLog:1.4654	Sat Mar  4 18:36:49 2006
+++ kaffe/ChangeLog	Sat Mar  4 19:41:20 2006
@@ -1,3 +1,11 @@
+2006-03-04  Dalibor Topic  <robilad at kaffe.org>
+
+	* kaffe/kaffevm/jit3/constpool.c: Added missing machine.h
+	include.
+
+	* replace/ifaddrs.h: Define __THROW away if it is not defined
+	to fix compiler warning.
+
 2006-03-04  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* kaffe/kaffevm/jit/methodcalls.c: Added missing includes.
Index: kaffe/kaffe/kaffevm/jit3/constpool.c
diff -u kaffe/kaffe/kaffevm/jit3/constpool.c:1.17 kaffe/kaffe/kaffevm/jit3/constpool.c:1.18
--- kaffe/kaffe/kaffevm/jit3/constpool.c:1.17	Mon Dec 26 18:01:47 2005
+++ kaffe/kaffe/kaffevm/jit3/constpool.c	Sat Mar  4 19:41:27 2006
@@ -17,6 +17,7 @@
 #include "thread.h"
 #include "jthread.h"
 #include "debug.h"
+#include "machine.h"
 
 #include <stdarg.h>
 #include <string.h>
Index: kaffe/replace/ifaddrs.h
diff -u kaffe/replace/ifaddrs.h:1.1 kaffe/replace/ifaddrs.h:1.2
--- kaffe/replace/ifaddrs.h:1.1	Sun Jul 17 16:46:34 2005
+++ kaffe/replace/ifaddrs.h	Sat Mar  4 19:41:30 2006
@@ -22,7 +22,9 @@
 
 #include <sys/socket.h>
 
+#ifndef __THROW
 #define __THROW
+#endif
 
 #if defined(__cplusplus)
 extern "C" {




More information about the kaffe mailing list