mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
wmaker: Added 'const' attribute to local variables
A number of these variable are not meant to be modified, so we show this to the compiler. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
c9b816de75
commit
a6410d61e5
@@ -167,7 +167,7 @@ void SlideWindows(Window *wins[], int n, int from_x, int from_y, int to_x, int t
|
||||
int i;
|
||||
|
||||
/* animation parameters */
|
||||
static struct {
|
||||
static const struct {
|
||||
int delay;
|
||||
int steps;
|
||||
int slowdown;
|
||||
|
||||
Reference in New Issue
Block a user