1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

WPrefs: Added 'const' attribute to function parameters

This commit is contained in:
Christophe CURIS
2013-05-12 00:24:39 +02:00
committed by Carlos R. Mafra
parent eb14bca73b
commit b5101fc8ae
17 changed files with 53 additions and 53 deletions

View File

@@ -171,7 +171,7 @@ static void doubleClick(WMWidget * w, void *data)
WMSetTextFieldText(panel->ddelaT, buffer);
}
static int getButtonAction(char *str)
static int getButtonAction(const char *str)
{
if (!str)
return -2;
@@ -189,7 +189,7 @@ static int getButtonAction(char *str)
}
static int getWheelAction(char *str)
static int getWheelAction(const char *str)
{
if (!str)
return -2;
@@ -641,7 +641,7 @@ static void createPanel(Panel * p)
showData(panel);
}
static void storeCommandInScript(char *cmd, char *line)
static void storeCommandInScript(const char *cmd, const char *line)
{
char *path;
FILE *f;