[Patch] cgen::VOID type
Ben Elliston
bje@redhat.com
Wed May 23 04:04:00 GMT 2001
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;
More information about the Sid
mailing list