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

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


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

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

        * kaffe/kaffevm/external.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.1956->1.1957 
	kaffe/kaffevm/external.c:1.50->1.51 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1956 kaffe/ChangeLog:1.1957
--- kaffe/ChangeLog:1.1956	Sun Jan 25 19:08:53 2004
+++ kaffe/ChangeLog	Sun Jan 25 19:57:25 2004
@@ -1,5 +1,13 @@
 2004-01-25  Dalibor Topic <robilad at kaffe.org>
 
+	* kaffe/kaffevm/external.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/exception.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/external.c
diff -u kaffe/kaffe/kaffevm/external.c:1.50 kaffe/kaffe/kaffevm/external.c:1.51
--- kaffe/kaffe/kaffevm/external.c:1.50	Mon Sep 22 15:31:24 2003
+++ kaffe/kaffe/kaffevm/external.c	Sun Jan 25 19:57:26 2004
@@ -5,9 +5,18 @@
  * Copyright (c) 1996, 1997, 1998, 1999
  *	Transvirtual Technologies, Inc.  All rights reserved.
  *
+ * 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