From 6d4a3c1a397d6474f6535336bbc8a28af8f2c7a2 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 18 Jun 2012 19:39:56 +0100 Subject: [PATCH] tablet-shell: Fix compilation warnings Include unistd.h to get fork and execl prototypes, and remove declarations of two unused variables. Signed-off-by: Daniel Stone --- clients/tablet-shell.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/tablet-shell.c b/clients/tablet-shell.c index 63ddbb2..0f58d5c 100644 --- a/clients/tablet-shell.c +++ b/clients/tablet-shell.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include "window.h" @@ -134,8 +135,6 @@ homescreen_draw(struct widget *widget, void *data) struct homescreen *homescreen = data; cairo_surface_t *surface; struct rectangle allocation; - cairo_pattern_t *pattern; - cairo_matrix_t matrix; cairo_t *cr; struct launcher *launcher; const int rows = 4, columns = 5, icon_width = 128, icon_height = 128; -- 2.7.4