diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2026-02-08 17:02:34 -0800 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2026-02-08 17:02:55 -0800 |
| commit | 59eb80a03ae846383705a1cbe72a9bf2dd824c15 (patch) | |
| tree | 0d3164972733d232ff985c00813fca81c11f8620 /lwlib | |
| parent | 8ddf2d2925f7d679718eaf66b71030280738482c (diff) | |
butttonTrans need not be extern
* lwlib/lwlib-Xaw.c (buttonTrans) [USE_CAIRO || HAVE_XFT]:
Now static. This pacifies gcc -Wmissing-variable-declarations.
Diffstat (limited to 'lwlib')
| -rw-r--r-- | lwlib/lwlib-Xaw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = "<Leave>: reset() my_reset()\n" "<Btn1Down>: set() my_press()\n" "<Btn1Up>: my_reset() notify() unset()\n"; |
