1
0
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:
Christophe CURIS
2013-06-16 17:57:47 +02:00
committed by Carlos R. Mafra
parent 69b6848187
commit f0c1dc9fc3
10 changed files with 24 additions and 24 deletions

View File

@@ -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;