From 94d55f34e1b7256a89866b3138de50f171c4081e Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Wed, 10 Aug 2011 23:54:27 +0200 Subject: [PATCH] i3bar: Fix prototypes (thx sECuRE) --- i3bar/include/workspaces.h | 2 +- i3bar/include/xcb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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