mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
wmaker: Added 'const' attribute to most local functions
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
69b6848187
commit
f0c1dc9fc3
@@ -267,7 +267,7 @@ static Pixmap makePixmap(WScreen * scr, int width, int height, int side, Pixmap
|
||||
return pixmap;
|
||||
}
|
||||
|
||||
static void showText(WScreen * scr, int x, int y, int h, int w, char *text)
|
||||
static void showText(WScreen *scr, int x, int y, int h, int w, const char *text)
|
||||
{
|
||||
int width;
|
||||
int height;
|
||||
@@ -327,7 +327,7 @@ static void showText(WScreen * scr, int x, int y, int h, int w, char *text)
|
||||
}
|
||||
#else /* !SHAPED_BALLOON */
|
||||
|
||||
static void showText(WScreen * scr, int x, int y, int h, int w, char *text)
|
||||
static void showText(WScreen *scr, int x, int y, int h, int w, const char *text)
|
||||
{
|
||||
int width;
|
||||
int height;
|
||||
|
||||
Reference in New Issue
Block a user