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