From efcf36f3482ca4ce0cec2c66143f3a1c6a822a35 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 3 Jan 2025 10:38:14 +0000 Subject: [PATCH] Remove superfluous parenthesis around regular type declarations --- cmwind/CMWcmmnds.c | 2 +- tcltk/tclmagic.c | 2 +- textio/txInput.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmwind/CMWcmmnds.c b/cmwind/CMWcmmnds.c index 94e3d7b8..d6b7247c 100644 --- a/cmwind/CMWcmmnds.c +++ b/cmwind/CMWcmmnds.c @@ -649,7 +649,7 @@ CMWCheckWritten(void) { bool indx; char *prompt; - static const char * const (yesno[]) = {"no", "yes", NULL}; + static const char * const yesno[] = {"no", "yes", NULL}; if (!cmwModified) return TRUE; prompt = TxPrintString("The color map has been modified.\n" diff --git a/tcltk/tclmagic.c b/tcltk/tclmagic.c index ae63ddb0..dc0cc40f 100644 --- a/tcltk/tclmagic.c +++ b/tcltk/tclmagic.c @@ -824,7 +824,7 @@ _magic_startup(ClientData clientData, int TxDialog(prompt, responses, defresp) char *prompt; - char *(responses[]); + char *responses[]; int defresp; { Tcl_Obj *objPtr; diff --git a/textio/txInput.c b/textio/txInput.c index 20b527ac..c88b0629 100644 --- a/textio/txInput.c +++ b/textio/txInput.c @@ -324,7 +324,7 @@ TxReprint() int TxDialog(prompt, responses, deflt) char *prompt; - char *(responses[]); + char *responses[]; int deflt; { int code;