mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
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:
parent
8ddf2d2925
commit
59eb80a03a
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue