clean up some warnings
This commit is contained in:
parent
40cb4bf236
commit
2a6dc7e328
|
@ -427,7 +427,7 @@ void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds)
|
|||
/* Connected */
|
||||
so->so_state &= ~SS_ISFCONNECTING;
|
||||
|
||||
ret = send(so->s, &ret, 0, 0);
|
||||
ret = send(so->s, NULL, 0, 0);
|
||||
if (ret < 0) {
|
||||
/* XXXXX Must fix, zero bytes is a NOP */
|
||||
if (errno == EAGAIN || errno == EWOULDBLOCK ||
|
||||
|
|
|
@ -525,7 +525,7 @@ union DL_primitives {
|
|||
struct EnetPacketHeader {
|
||||
uint8 fDestAddr[6];
|
||||
uint8 fSourceAddr[6];
|
||||
nw_uint16 fProto;
|
||||
uint16 fProto;
|
||||
} PACKED__;
|
||||
|
||||
struct T8022Header {
|
||||
|
@ -548,7 +548,7 @@ struct T8022FullPacketHeader {
|
|||
|
||||
struct T8022AddressStruct {
|
||||
uint8 fHWAddr[6];
|
||||
nw_uint16 fSAP;
|
||||
uint16 fSAP;
|
||||
uint8 fSNAP[k8022SNAPLength];
|
||||
} PACKED__;
|
||||
|
||||
|
|
|
@ -90,6 +90,7 @@ static inline int ppc_to_native_rounding_mode(int round)
|
|||
case 2: return FE_UPWARD;
|
||||
case 3: return FE_DOWNWARD;
|
||||
}
|
||||
return FE_TONEAREST;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -88,6 +88,7 @@ int mathlib_fpclassify (double x)
|
|||
int mathlib_fpclassifyl(long double x)
|
||||
{
|
||||
unimplemented("fpclassifyl");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
|
@ -114,6 +115,7 @@ int mathlib_signbit (double x)
|
|||
int mathlib_signbitl(long double x)
|
||||
{
|
||||
unimplemented("signbitl");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue