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

@ -918,7 +918,7 @@ Con *workspace_encapsulate(Con *ws) {
* Move the given workspace to the specified output.
* This returns true if and only if moving the workspace was successful.
*/
bool workspace_move_to_output(Con *ws, char *name) {
bool workspace_move_to_output(Con *ws, const char *name) {
LOG("Trying to move workspace %p / %s to output \"%s\".\n", ws, ws->name, name);
Con *current_output_con = con_get_output(ws);