Turn "char *" into "const char *" for all command parser functions.

This commit is contained in:
Ingo Bürk
2015-09-27 23:42:58 +02:00
parent c7ca6e1b41
commit 6cd6f43d09
7 changed files with 86 additions and 87 deletions

View File

@ -261,7 +261,7 @@ void startup_monitor_event(SnMonitorEvent *event, void *userdata) {
* Renames workspaces that are mentioned in the startup sequences.
*
*/
void startup_sequence_rename_workspace(char *old_name, char *new_name) {
void startup_sequence_rename_workspace(const char *old_name, const char *new_name) {
struct Startup_Sequence *current;
TAILQ_FOREACH(current, &startup_sequences, sequences) {
if (strcmp(current->workspace, old_name) != 0)