Remove redundant #include path component.

Using the parent '../' path component in #include statements makes
the codebase more rigid and is redundant due to proper -I use.

Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
Jon Cruz
2015-06-15 15:37:07 -07:00
committed by Bryce Harrington
parent b7e07846bd
commit 4678bab13c
34 changed files with 46 additions and 46 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
#include <unistd.h>
#include "../shared/os-compatibility.h"
#include "shared/os-compatibility.h"
#include "weston-test-client-helper.h"
/* tests, that attempt to crash the compositor on purpose */
+1 -1
View File
@@ -32,7 +32,7 @@
#include <GLES2/gl2.h>
#include "weston-test-client-helper.h"
#include "../shared/platform.h"
#include "shared/platform.h"
#define fail(msg) { fprintf(stderr, "%s failed\n", msg); return -1; }
+2 -2
View File
@@ -31,8 +31,8 @@
#include <string.h>
#include <stdbool.h>
#include "../src/compositor.h"
#include "../ivi-shell/ivi-layout-export.h"
#include "src/compositor.h"
#include "ivi-shell/ivi-layout-export.h"
struct test_context {
struct weston_compositor *compositor;
+2 -2
View File
@@ -31,10 +31,10 @@
#include <signal.h>
#include <string.h>
#include "../src/compositor.h"
#include "src/compositor.h"
#include "weston-test-server-protocol.h"
#include "ivi-test.h"
#include "../ivi-shell/ivi-layout-export.h"
#include "ivi-shell/ivi-layout-export.h"
struct test_context;
+1 -1
View File
@@ -32,7 +32,7 @@
#include <signal.h>
#include <time.h>
#include "../shared/matrix.h"
#include "shared/matrix.h"
struct inverse_matrix {
double LU[16]; /* column-major */
+1 -1
View File
@@ -27,7 +27,7 @@
#include <assert.h>
#include "../src/compositor.h"
#include "src/compositor.h"
static void
surface_to_from_global(void *data)
+1 -1
View File
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <assert.h>
#include "../src/compositor.h"
#include "src/compositor.h"
static void
surface_transform(void *data)
+1 -1
View File
@@ -30,7 +30,7 @@
#include "weston-test-runner.h"
#include "../src/vertex-clipping.h"
#include "src/vertex-clipping.h"
#define BOUNDING_BOX_TOP_Y 100.0f
#define BOUNDING_BOX_LEFT_X 50.0f
+1 -1
View File
@@ -32,7 +32,7 @@
#include <errno.h>
#include <sys/mman.h>
#include "../shared/os-compatibility.h"
#include "shared/os-compatibility.h"
#include "weston-test-client-helper.h"
#define max(a, b) (((a) > (b)) ? (a) : (b))
+2 -2
View File
@@ -31,13 +31,13 @@
#include <unistd.h>
#include <string.h>
#include "../src/compositor.h"
#include "src/compositor.h"
#include "weston-test-server-protocol.h"
#ifdef ENABLE_EGL
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include "../src/weston-egl-ext.h"
#include "src/weston-egl-ext.h"
#endif /* ENABLE_EGL */
struct weston_test {