This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
[Patch] cgen::VOID type
- To: sid at sources dot redhat dot com
- Subject: [Patch] cgen::VOID type
- From: Ben Elliston <bje at redhat dot com>
- Date: Wed, 23 May 2001 21:04:44 +1000 (EST)
I am committing the following patch under the obvious fix rule. It
might not be an obvious fix, but it was already agreed to incorporate
such a typedef into the old sim/common simulator framework. This
typedef makes c-calls from cgen into sid more syntactically
consistent.
Ben
2001-05-23 Ben Elliston <bje@redhat.com>
* cgen-types.h (cgen::VOID): Typedef for void.
Index: cgen-types.h
===================================================================
RCS file: /cvs/cvsfiles/devo/sid/component/cgen-cpu/cgen-types.h,v
retrieving revision 1.8
diff -u -c -r1.8 cgen-types.h
*** cgen-types.h 2000/12/01 16:32:36 1.8
--- cgen-types.h 2001/05/23 11:02:19
***************
*** 12,17 ****
--- 12,18 ----
// Modes.
typedef bool BI;
+ typedef void VOID;
typedef sid::signed_host_int_1 QI;
typedef sid::signed_host_int_2 HI;