1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 06:38:05 +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

@@ -555,7 +555,7 @@ typedef struct IconPanel {
short preview;
} IconPanel;
static void listPixmaps(WScreen * scr, WMList * lPtr, char *path)
static void listPixmaps(WScreen *scr, WMList *lPtr, const char *path)
{
struct dirent *dentry;
DIR *dir;
@@ -608,7 +608,7 @@ static void listPixmaps(WScreen * scr, WMList * lPtr, char *path)
panel->preview = True;
}
static void setViewedImage(IconPanel * panel, char *file)
static void setViewedImage(IconPanel *panel, const char *file)
{
WMPixmap *pixmap;
RColor color;