diff --git a/i3bar/include/workspaces.h b/i3bar/include/workspaces.h index 2055d8b8..6f5ca72b 100644 --- a/i3bar/include/workspaces.h +++ b/i3bar/include/workspaces.h @@ -21,7 +21,7 @@ TAILQ_HEAD(ws_head, i3_ws); * Start parsing the received json-string * */ -void parse_workspaces_json(); +void parse_workspaces_json(char *json); /* * free() all workspace data-structures diff --git a/i3bar/include/xcb.h b/i3bar/include/xcb.h index a7924291..531fdfe9 100644 --- a/i3bar/include/xcb.h +++ b/i3bar/include/xcb.h @@ -31,7 +31,7 @@ typedef struct xcb_colors_t xcb_colors_t; * Initialize xcb and use the specified fontname for text-rendering * */ -char *init_xcb(); +char *init_xcb(char *fontname); /* * Initialize the colors