Change some #define foo() -> static void foo()
This commit is contained in:
parent
aab73d719a
commit
0b69526217
27
os/io.c
27
os/io.c
|
@ -171,14 +171,25 @@ static OsCommPtr AvailableInput = (OsCommPtr)NULL;
|
||||||
* a partial request) because others clients need to be scheduled.
|
* a partial request) because others clients need to be scheduled.
|
||||||
*****************************************************************/
|
*****************************************************************/
|
||||||
|
|
||||||
#define YieldControl() \
|
static void
|
||||||
{ isItTimeToYield = TRUE; \
|
YieldControl(void)
|
||||||
timesThisConnection = 0; }
|
{
|
||||||
#define YieldControlNoInput() \
|
isItTimeToYield = TRUE;
|
||||||
{ YieldControl(); \
|
timesThisConnection = 0;
|
||||||
FD_CLR(fd, &ClientsWithInput); }
|
}
|
||||||
#define YieldControlDeath() \
|
|
||||||
{ timesThisConnection = 0; }
|
static void
|
||||||
|
YieldControlNoInput(void)
|
||||||
|
{
|
||||||
|
YieldControl();
|
||||||
|
FD_CLR(fd, &ClientsWithInput);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
YieldControlDeath(void)
|
||||||
|
{
|
||||||
|
timesThisConnection = 0;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
ReadRequestFromClient(ClientPtr client)
|
ReadRequestFromClient(ClientPtr client)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user