From: Axel Wagner Date: Wed, 10 Aug 2011 21:54:27 +0000 (+0200) Subject: i3bar: Fix prototypes (thx sECuRE) X-Git-Tag: 4.0.2~45^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=94d55f34e1b7256a89866b3138de50f171c4081e;p=i3%2Fi3 i3bar: Fix prototypes (thx sECuRE) --- 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