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:
committed by
Carlos R. Mafra
parent
69b6848187
commit
f0c1dc9fc3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user