commit dc5b2cba631b31d5f15bf920ad3b801efbf3ac07
parent 88d98cd12ac855de4d6819d84901ee2cfa9876d8
Author: Michael Forney <mforney@mforney.org>
Date: Mon, 25 Nov 2013 13:53:53 -0800
Remove unnecessary forward declarations
Diffstat:
10 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/libswc/data.h b/libswc/data.h
@@ -27,7 +27,6 @@
#include <stdint.h>
struct wl_client;
-struct wl_resource;
struct wl_resource * swc_data_source_new(struct wl_client * client,
uint32_t id);
diff --git a/libswc/drm_buffer.h b/libswc/drm_buffer.h
@@ -26,7 +26,6 @@
#include <stdint.h>
-struct wl_resource;
struct wl_client;
struct swc_drm_buffer
diff --git a/libswc/evdev_device.h b/libswc/evdev_device.h
@@ -5,7 +5,6 @@
#include <linux/input.h>
#include <wayland-util.h>
-struct libevdev_device;
struct swc_evdev_device;
struct wl_event_loop;
diff --git a/libswc/input_focus.h b/libswc/input_focus.h
@@ -27,8 +27,6 @@
#include <stdbool.h>
#include <wayland-server.h>
-struct swc_surface;
-
enum swc_input_focus_event_type
{
SWC_INPUT_FOCUS_EVENT_CHANGED
diff --git a/libswc/internal.h b/libswc/internal.h
@@ -24,11 +24,6 @@
#ifndef SWC_INTERNAL_H
#define SWC_INTERNAL_H
-struct wl_display;
-struct wl_event_loop;
-struct swc_manager;
-struct swc_compositor;
-
struct swc
{
struct wl_display * display;
diff --git a/libswc/keyboard.h b/libswc/keyboard.h
@@ -32,7 +32,6 @@
struct swc_keyboard;
struct wl_client;
-struct wl_resource;
struct swc_keyboard_handler
{
diff --git a/libswc/output.h b/libswc/output.h
@@ -10,7 +10,6 @@
#define SWC_OUTPUT_MASK(output) (1 << (output)->id)
-struct swc_mode;
struct wl_display;
struct swc_output
diff --git a/libswc/region.h b/libswc/region.h
@@ -5,7 +5,6 @@
#include <pixman.h>
struct wl_client;
-struct wl_resource;
struct swc_region
{
diff --git a/libswc/shell_surface.h b/libswc/shell_surface.h
@@ -26,7 +26,6 @@
#include <stdint.h>
-struct swc_shell_surface;
struct swc_surface;
struct wl_client;
diff --git a/libswc/surface.h b/libswc/surface.h
@@ -28,8 +28,6 @@
#include <wayland-server.h>
#include <pixman.h>
-struct swc_surface;
-
enum swc_surface_event_type
{
SWC_SURFACE_EVENT_TYPE_RESIZE