public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* [Patch] cgen::VOID type
@ 2001-05-23  4:04 Ben Elliston
  0 siblings, 0 replies; only message in thread
From: Ben Elliston @ 2001-05-23  4:04 UTC (permalink / raw)
  To: sid

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-23  4:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-23  4:04 [Patch] cgen::VOID type Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).