tclmagic.c: match new textio prototypes for constified implementations

This commit is contained in:
Darryl L. Miles
2025-02-23 10:24:40 -05:00
committed by Tim Edwards
parent 6ed8f17136
commit aa35a612b0
+6 -6
View File
@@ -823,8 +823,8 @@ _magic_startup(ClientData clientData,
int
TxDialog(prompt, responses, defresp)
char *prompt;
char *responses[];
const char *prompt;
const char * const *responses;
int defresp;
{
Tcl_Obj *objPtr;
@@ -886,8 +886,8 @@ TxStopMore()
extern char txPromptChar;
void
TxSetPrompt(ch)
char ch;
TxSetPrompt(
char ch)
{
#if TCL_MAJOR_VERSION < 9
Tcl_SavedResult state;
@@ -1004,11 +1004,11 @@ TxDispatch(f)
void
TxParseString(str, q, event)
char *str;
const char *str;
void *q; /* unused */
void *event; /* always NULL (ignored) */
{
char *reply;
const char *reply;
Tcl_EvalEx(magicinterp, str, -1, 0);