[kaffe] CVS kaffe (dalibor): Fixed compiler warning on hpux

Kaffe CVS cvs-commits at kaffe.org
Sun Jan 25 11:12:02 PST 2004


PatchSet 4370 
Date: 2004/01/25 19:08:53
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed compiler warning on hpux

2004-01-25  Dalibor Topic <robilad at kaffe.org>

        * kaffe/kaffevm/exception.c:
        Include <stdarg.h> if it exists. Include <stdio.h> to fix
        compiler warnings on HP-UX about missing vsnprintf prototype.

        Reported by: Riccardo Mottola <zuse at libero.it>

Members: 
	ChangeLog:1.1955->1.1956 
	kaffe/kaffevm/exception.c:1.75->1.76 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1955 kaffe/ChangeLog:1.1956
--- kaffe/ChangeLog:1.1955	Sun Jan 25 18:53:33 2004
+++ kaffe/ChangeLog	Sun Jan 25 19:08:53 2004
@@ -1,5 +1,13 @@
 2004-01-25  Dalibor Topic <robilad at kaffe.org>
 
+	* kaffe/kaffevm/exception.c:
+	Include <stdarg.h> if it exists. Include <stdio.h> to fix
+	compiler warnings on HP-UX about missing vsnprintf prototype.
+
+	Reported by: Riccardo Mottola <zuse at libero.it>
+
+2004-01-25  Dalibor Topic <robilad at kaffe.org>
+
 	* kaffe/kaffevm/debug.c:
 	Include <stdarg.h> if it exists. Include <stdio.h> to fix
 	compiler warnings on HP-UX about missing vsnprintf prototype.
Index: kaffe/kaffe/kaffevm/exception.c
diff -u kaffe/kaffe/kaffevm/exception.c:1.75 kaffe/kaffe/kaffevm/exception.c:1.76
--- kaffe/kaffe/kaffevm/exception.c:1.75	Tue Dec 23 17:26:36 2003
+++ kaffe/kaffe/kaffevm/exception.c	Sun Jan 25 19:08:55 2004
@@ -6,10 +6,18 @@
  *	Transvirtual Technologies, Inc.  All rights reserved.
  * Copyright (c) 2003
  * 	Mark J. Wielaard <mark at klomp.org>
+ * Copyright (c) 2004
+ *      Kaffe.org contributors. See ChangeLogs for details. All rights reserved.
  *
  * See the file "license.terms" for information on usage and redistribution
  * of this file.
  */
+
+#if defined(HAVE_STDARG_H)
+#include <stdarg.h>
+#endif /* defined(HAVE_STDARG_H) */
+
+#include <stdio.h>
 
 #include "config.h"
 #include "debug.h"




More information about the kaffe mailing list