butttonTrans need not be extern

* lwlib/lwlib-Xaw.c (buttonTrans) [USE_CAIRO || HAVE_XFT]:
Now static.  This pacifies gcc -Wmissing-variable-declarations.
This commit is contained in:
Paul Eggert 2026-02-08 17:02:34 -08:00
parent 8ddf2d2925
commit 59eb80a03a

View file

@ -487,7 +487,7 @@ static XtActionsRec button_actions[] =
{ "my_reset", command_reset },
{ "my_press", command_press },
};
char buttonTrans[] =
static char buttonTrans[] =
"<Leave>: reset() my_reset()\n"
"<Btn1Down>: set() my_press()\n"
"<Btn1Up>: my_reset() notify() unset()\n";