]> git.sur5r.net Git - i3/i3/commitdiff
i3bar: Fix prototypes (thx sECuRE)
authorAxel Wagner <mail@merovius.de>
Wed, 10 Aug 2011 21:54:27 +0000 (23:54 +0200)
committerAxel Wagner <mail@merovius.de>
Wed, 10 Aug 2011 21:54:27 +0000 (23:54 +0200)
i3bar/include/workspaces.h
i3bar/include/xcb.h

index 2055d8b8e420bc43ace703b8dd16f1a56f8271e8..6f5ca72b4cdd9b1bd230b2b9a0c76f84fe3be671 100644 (file)
@@ -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
index a79242912adc2a9c90b34765265870341872886c..531fdfe942c76265e0e5b559528b5ccb5e733604 100644 (file)
@@ -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