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>
dev
Daniel Stone 13 years ago committed by Kristian Høgsberg
parent a494f1d3f0
commit 6d4a3c1a39
  1. 3
      clients/tablet-shell.c

@ -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;

Loading…
Cancel
Save