dtdocbook: Change to ANSI function definitions

This commit is contained in:
Peter Howkins
2018-06-28 04:12:10 +01:00
parent 3baf0744f2
commit 948baafd17
51 changed files with 2295 additions and 1978 deletions

View File

@@ -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;