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:
committed by
Kristian Høgsberg
parent
a494f1d3f0
commit
6d4a3c1a39
@@ -24,6 +24,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
@@ -134,8 +135,6 @@ homescreen_draw(struct widget *widget, void *data)
|
|||||||
struct homescreen *homescreen = data;
|
struct homescreen *homescreen = data;
|
||||||
cairo_surface_t *surface;
|
cairo_surface_t *surface;
|
||||||
struct rectangle allocation;
|
struct rectangle allocation;
|
||||||
cairo_pattern_t *pattern;
|
|
||||||
cairo_matrix_t matrix;
|
|
||||||
cairo_t *cr;
|
cairo_t *cr;
|
||||||
struct launcher *launcher;
|
struct launcher *launcher;
|
||||||
const int rows = 4, columns = 5, icon_width = 128, icon_height = 128;
|
const int rows = 4, columns = 5, icon_width = 128, icon_height = 128;
|
||||||
|
|||||||
Reference in New Issue
Block a user