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 <daniel@fooishbar.org>
This commit is contained in:
Daniel Stone
2012-06-18 19:39:56 +01:00
committed by Kristian Høgsberg
parent a494f1d3f0
commit 6d4a3c1a39
+1 -2
View File
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
#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;