From 59eb80a03ae846383705a1cbe72a9bf2dd824c15 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 8 Feb 2026 17:02:34 -0800 Subject: [PATCH] butttonTrans need not be extern * lwlib/lwlib-Xaw.c (buttonTrans) [USE_CAIRO || HAVE_XFT]: Now static. This pacifies gcc -Wmissing-variable-declarations. --- lwlib/lwlib-Xaw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c index 76b313e8402..0699410cc82 100644 --- a/lwlib/lwlib-Xaw.c +++ b/lwlib/lwlib-Xaw.c @@ -487,7 +487,7 @@ static XtActionsRec button_actions[] = { "my_reset", command_reset }, { "my_press", command_press }, }; -char buttonTrans[] = +static char buttonTrans[] = ": reset() my_reset()\n" ": set() my_press()\n" ": my_reset() notify() unset()\n";