dtdocbook: Change to ANSI function definitions
This commit is contained in:
@@ -91,12 +91,13 @@ static int MaskEmpty _ANSI_ARGS_((long *maskPtr));
|
||||
*/
|
||||
|
||||
void
|
||||
Tcl_WatchFile(file, mask)
|
||||
Tcl_File file; /* Generic file handle for a stream. */
|
||||
int mask; /* OR'ed combination of TCL_READABLE,
|
||||
Tcl_WatchFile(
|
||||
Tcl_File file, /* Generic file handle for a stream. */
|
||||
int mask /* OR'ed combination of TCL_READABLE,
|
||||
* TCL_WRITABLE, and TCL_EXCEPTION:
|
||||
* indicates conditions to wait for
|
||||
* in select. */
|
||||
)
|
||||
{
|
||||
int fd, type, index;
|
||||
fd_mask bit;
|
||||
@@ -150,11 +151,12 @@ Tcl_WatchFile(file, mask)
|
||||
*/
|
||||
|
||||
int
|
||||
Tcl_FileReady(file, mask)
|
||||
Tcl_File file; /* Generic file handle for a stream. */
|
||||
int mask; /* OR'ed combination of TCL_READABLE,
|
||||
Tcl_FileReady(
|
||||
Tcl_File file, /* Generic file handle for a stream. */
|
||||
int mask /* OR'ed combination of TCL_READABLE,
|
||||
* TCL_WRITABLE, and TCL_EXCEPTION:
|
||||
* indicates conditions caller cares about. */
|
||||
)
|
||||
{
|
||||
int index, result, type, fd;
|
||||
fd_mask bit;
|
||||
@@ -196,8 +198,9 @@ Tcl_FileReady(file, mask)
|
||||
*/
|
||||
|
||||
static int
|
||||
MaskEmpty(maskPtr)
|
||||
long *maskPtr;
|
||||
MaskEmpty(
|
||||
long *maskPtr
|
||||
)
|
||||
{
|
||||
long *runPtr, *tailPtr;
|
||||
int found, sz;
|
||||
@@ -238,12 +241,13 @@ MaskEmpty(maskPtr)
|
||||
*/
|
||||
|
||||
int
|
||||
Tcl_WaitForEvent(timePtr)
|
||||
Tcl_Time *timePtr; /* Specifies the maximum amount of time
|
||||
Tcl_WaitForEvent(
|
||||
Tcl_Time *timePtr /* Specifies the maximum amount of time
|
||||
* that this procedure should block before
|
||||
* returning. The time is given as an
|
||||
* interval, not an absolute wakeup time.
|
||||
* NULL means block forever. */
|
||||
)
|
||||
{
|
||||
struct timeval timeout, *timeoutPtr;
|
||||
int numFound;
|
||||
@@ -300,8 +304,9 @@ Tcl_WaitForEvent(timePtr)
|
||||
*/
|
||||
|
||||
void
|
||||
Tcl_Sleep(ms)
|
||||
int ms; /* Number of milliseconds to sleep. */
|
||||
Tcl_Sleep(
|
||||
int ms /* Number of milliseconds to sleep. */
|
||||
)
|
||||
{
|
||||
static struct timeval delay;
|
||||
Tcl_Time before, after;
|
||||
|
||||
Reference in New Issue
Block a user