$OpenBSD: patch-src_workspace_c,v 1.15 2015/12/18 15:53:09 dcoppa Exp $

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

--- src/workspace.c.orig	Wed Sep 30 08:55:10 2015
+++ src/workspace.c	Fri Dec 18 13:58:58 2015
@@ -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);
