* o exitCode - The code to pass to exit.
*-----------------------------------------------------------------------------
*/
-void
-Tcl_ErrorAbort (interp, exitCode)
- Tcl_Interp *interp;
- int exitCode;
+void
+Tcl_ErrorAbort (Tcl_Interp *interp, int exitCode)
{
char *errorStack;
* o tclParmsPtr - Results of the parsed Tcl shell command line.
*-----------------------------------------------------------------------------
*/
-static void
-ParseCmdArgs (argc, argv, tclParmsPtr)
- int argc;
- char **argv;
- tclParms_t *tclParmsPtr;
+static void
+ParseCmdArgs (int argc, char **argv, tclParms_t *tclParmsPtr)
{
char *scanPtr, *programName;
int programNameLen;
* TCL_OK if all is ok, TCL_ERROR if a error occured.
*-----------------------------------------------------------------------------
*/
-static int
-FindDefaultFile (interp, defaultFile)
- Tcl_Interp *interp;
- char *defaultFile;
+static int
+FindDefaultFile (Tcl_Interp *interp, char *defaultFile)
{
char *defaultFileToUse;
struct stat statBuf;
* TCL_OK if all is ok, TCL_ERROR if an error occured.
*-----------------------------------------------------------------------------
*/
-static int
-ProcessDefaultFile (interp, defaultFile)
- Tcl_Interp *interp;
- char *defaultFile;
+static int
+ProcessDefaultFile (Tcl_Interp *interp, char *defaultFile)
{
char *defaultFileToUse;
* TCL_OK if all is ok, TCL_ERROR if an error occured.
*-----------------------------------------------------------------------------
*/
-static int
-ProcessInitFile (interp)
- Tcl_Interp *interp;
+static int
+ProcessInitFile (Tcl_Interp *interp)
{
char *initFile;
* TCL_OK if all is ok, TCL_ERROR if an error occured.
*-----------------------------------------------------------------------------
*/
-int
-Tcl_ShellEnvInit (interp, options, programName, argc, argv, interactive,
- defaultFile)
- Tcl_Interp *interp;
- unsigned options;
- CONST char *programName;
- int argc;
- CONST char **argv;
- int interactive;
- CONST char *defaultFile;
+int
+Tcl_ShellEnvInit (Tcl_Interp *interp, unsigned options, CONST char *programName, int argc, CONST char **argv, int interactive, CONST char *defaultFile)
{
int result = TCL_OK;
char *defaultFilePath;
* must be set before calling thus routine if special values are desired.
*-----------------------------------------------------------------------------
*/
-void
-Tcl_Startup (interp, argc, argv, defaultFile, options)
- Tcl_Interp *interp;
- int argc;
- CONST char **argv;
- CONST char *defaultFile;
- unsigned options;
+void
+Tcl_Startup (Tcl_Interp *interp, int argc, CONST char **argv, CONST char *defaultFile, unsigned options)
{
char *cmdBuf;
tclParms_t tclParms;