ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/slirp/misc.c
(Generate patch)

Comparing BasiliskII/src/slirp/misc.c (file contents):
Revision 1.1 by gbeauche, 2005-05-13T09:00:59Z vs.
Revision 1.5 by gbeauche, 2006-04-29T10:41:25Z

# Line 137 | Line 137 | struct quehead {
137          struct quehead *qh_rlink;
138   };
139  
140 < inline void
140 > void
141   insque(a, b)
142          void *a, *b;
143   {
# Line 150 | Line 150 | insque(a, b)
150          = (struct quehead *)element;
151   }
152  
153 < inline void
153 > void
154   remque(a)
155       void *a;
156   {
# Line 310 | Line 310 | fork_exec(so, ex, do_pty)
310   {
311          int s;
312          struct sockaddr_in addr;
313 <        int addrlen = sizeof(addr);
313 >        socklen_t addrlen = sizeof(addr);
314          int opt;
315          int master;
316          char *argv[256];
# Line 821 | Line 821 | void
821   fd_nonblock(fd)
822          int fd;
823   {
824 < #ifdef FIONBIO
825 <        int opt = 1;
824 > #if defined USE_FIONBIO && defined FIONBIO
825 >        ioctlsockopt_t opt = 1;
826          
827          ioctlsocket(fd, FIONBIO, &opt);
828   #else
# Line 838 | Line 838 | void
838   fd_block(fd)
839          int fd;
840   {
841 < #ifdef FIONBIO
842 <        int opt = 0;
841 > #if defined USE_FIONBIO && defined FIONBIO
842 >        ioctlsockopt_t opt = 0;
843          
844          ioctlsocket(fd, FIONBIO, &opt);
845   #else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines