funcs.h should #include debug.h

Alexandre Oliva kaffe@rufus.w3.org
07 Aug 1998 05:13:00 -0300


--Multipart_Fri_Aug__7_05:13:00_1998-1
Content-Type: text/plain; charset=US-ASCII

If funcs.h does not include debug.h, a build with EXTRA_CFLAGS=-DDEBUG
won't ever complete successfully, because dprintf will not be properly
defined.

A patch is attached.


Another patch that fixes some typos I have made in a previous
ChangeLog entry is also provided.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

--Multipart_Fri_Aug__7_05:13:00_1998-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="funcs-debug.diff"
Content-Transfer-Encoding: 7bit

  Alexandre Oliva  <oliva@dcc.unicamp.br>

	* kaffe/kaffevm/jit/funcs.c: include "debug.h"

Index: kaffe/kaffevm/jit/funcs.c
===================================================================
RCS file: /home/msc/oliva/src/.cvs/kaffe/kaffe/kaffevm/jit/funcs.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 funcs.c
--- kaffe/kaffevm/jit/funcs.c	1998/03/30 23:14:35	1.1.1.3
+++ kaffe/kaffevm/jit/funcs.c	1998/08/07 06:03:51
@@ -8,6 +8,7 @@
  */
 
 #include "config.h"
+#include "debug.h"
 #include "config-std.h"
 #include "gtypes.h"
 #include "seq.h"

--Multipart_Fri_Aug__7_05:13:00_1998-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="changelog.diff"
Content-Transfer-Encoding: 7bit

Index: ChangeLog
===================================================================
RCS file: /home/msc/oliva/src/.cvs/kaffe/ChangeLog,v
retrieving revision 1.1.1.20
diff -u -r1.1.1.20 ChangeLog
--- ChangeLog	1998/08/07 04:32:23	1.1.1.20
+++ ChangeLog	1998/08/07 08:11:54
@@ -235,10 +235,10 @@
 
 Tue Jul 14 22:21:42 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
-	* libraries/clib/awk/X/toolkit.h: #include stdlib.h before
+	* libraries/clib/awt/X/toolkit.h: #include stdlib.h before
 	anything else, because some X implementations #define calloc
 
-        * libraries/clib/awk/X/img.c: include stdlib.h (for size_t)
+        * libraries/clib/awt/X/img.c: include stdlib.h (for size_t)
         before jpeglib.h
 
         * libraries/clib/native/Makefile.in: use CPPFLAGS and LDFLAGS
@@ -248,7 +248,7 @@
         * kaffe/kaffe/Makefile.in: ditto
         * kaffe/kaffevm/Makefile.in: ditto
         * libraries/clib/management/Makefile.in: ditto
-        * libraries/clib/awk/Makefile.in: ditto
+        * libraries/clib/awt/Makefile.in: ditto
 
 Tue Jul 14 15:05:28 1998  Kiyo Inaba <inaba@src.ricoh.co.jp>
 

--Multipart_Fri_Aug__7_05:13:00_1998-1--