plex86-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Plex86-devel] compile problem iosniffer ...


From: Eric Laberge
Subject: Re: [Plex86-devel] compile problem iosniffer ...
Date: Wed, 30 Oct 2002 17:36:43 -0500
User-agent: KMail/1.4.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This has been fixed on July 21st. GCC 2.95 did not like my anonymous union.

===================================================================
RCS file: /cvsroot/plex86/plex86-release/user/plugins/iosniffer/iosniffer.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
- --- plex86/plex86-release/user/plugins/iosniffer/iosniffer.c  2002/07/20 
18:31:15        1.1
+++ plex86/plex86-release/user/plugins/iosniffer/iosniffer.c    2002/07/21 
00:05:19        1.2
@@ -54,7 +54,7 @@
   {
     ioReadHandler_t read;
     ioWriteHandler_t write;
- -  };
+  } handler;
   char *comment;
 } io_handler_lnk;
 
@@ -91,7 +91,7 @@
   {
     io_handler_lnk *newhandler = (io_handler_lnk*) 
malloc(sizeof(io_handler_lnk));
     newhandler->port = base + i;
- -    newhandler->read = callback;
+    newhandler->handler.read = callback;
     newhandler->next = ioread;
     newhandler->comment = getString(base + i, 0);
     ioread = newhandler;
@@ -107,7 +107,7 @@
   {
     io_handler_lnk *newhandler = (io_handler_lnk*) 
malloc(sizeof(io_handler_lnk));
     newhandler->port = base + i;
- -    newhandler->write = callback;
+    newhandler->handler.write = callback;
     newhandler->next = iowrite;
     newhandler->comment = getString(base + i, 1);
     iowrite = newhandler;
@@ -136,7 +136,7 @@
   last_op(IO_OP_WRITE, address, io_len, value, iter);
   old_iter = iter;
 
- -  iter->write(this_ptr, address, value, io_len);
+  iter->handler.write(this_ptr, address, value, io_len);
 }
 
 static Bit32u port_read(void *this_ptr, Bit32u address, unsigned int io_len)
@@ -158,7 +158,7 @@
     return 0;
   }
 
- -  result = iter->read(this_ptr, address, io_len);
+  result = iter->handler.read(this_ptr, address, io_len);
   last_op(IO_OP_READ, address, io_len, result, iter);
   old_iter = iter;
   return result;

- -- 
Eric Laberge
ICQ: 1261355
MSN: address@hidden
Jabber: address@hidden

GCS/M/S d-(++) s-: a-- C++(++++) UL+++>$ !P L++ E--- W++ N+ w++ !O M
!V PS PE Y PGP-(+++) t++(-) X- R* tv+ b+ DI+++  D+ G e+>+++++ h! r--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9wF7+1Q3tcr/gnPMRAtfgAKCLsUE68WAfcS3S+Z8H+t6WGj5B8QCcCEEc
vwUhK4+dvtld2AF0Y45X8jc=
=3L38
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]