dtdocbook: Change to ANSI function definitions
This commit is contained in:
@@ -61,11 +61,12 @@
|
||||
*/
|
||||
|
||||
int
|
||||
Tcl_GetInt(interp, string, intPtr)
|
||||
Tcl_Interp *interp; /* Interpreter to use for error reporting. */
|
||||
char *string; /* String containing a (possibly signed)
|
||||
Tcl_GetInt(
|
||||
Tcl_Interp *interp, /* Interpreter to use for error reporting. */
|
||||
char *string, /* String containing a (possibly signed)
|
||||
* integer in a form acceptable to strtol. */
|
||||
int *intPtr; /* Place to store converted result. */
|
||||
int *intPtr /* Place to store converted result. */
|
||||
)
|
||||
{
|
||||
char *end, *p;
|
||||
int i;
|
||||
@@ -136,11 +137,12 @@ Tcl_GetInt(interp, string, intPtr)
|
||||
*/
|
||||
|
||||
int
|
||||
Tcl_GetDouble(interp, string, doublePtr)
|
||||
Tcl_Interp *interp; /* Interpreter to use for error reporting. */
|
||||
char *string; /* String containing a floating-point number
|
||||
Tcl_GetDouble(
|
||||
Tcl_Interp *interp, /* Interpreter to use for error reporting. */
|
||||
char *string, /* String containing a floating-point number
|
||||
* in a form acceptable to strtod. */
|
||||
double *doublePtr; /* Place to store converted result. */
|
||||
double *doublePtr /* Place to store converted result. */
|
||||
)
|
||||
{
|
||||
char *end;
|
||||
double d;
|
||||
@@ -193,13 +195,14 @@ Tcl_GetDouble(interp, string, doublePtr)
|
||||
*/
|
||||
|
||||
int
|
||||
Tcl_GetBoolean(interp, string, boolPtr)
|
||||
Tcl_Interp *interp; /* Interpreter to use for error reporting. */
|
||||
char *string; /* String containing a boolean number
|
||||
Tcl_GetBoolean(
|
||||
Tcl_Interp *interp, /* Interpreter to use for error reporting. */
|
||||
char *string, /* String containing a boolean number
|
||||
* specified either as 1/0 or true/false or
|
||||
* yes/no. */
|
||||
int *boolPtr; /* Place to store converted result, which
|
||||
int *boolPtr /* Place to store converted result, which
|
||||
* will be 0 or 1. */
|
||||
)
|
||||
{
|
||||
int i;
|
||||
char lowerCase[10], c;
|
||||
|
||||
Reference in New Issue
Block a user