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:
committed by
Bryce Harrington
parent
b7e07846bd
commit
4678bab13c
@@ -42,9 +42,9 @@
|
||||
#include "compositor.h"
|
||||
#include "gl-renderer.h"
|
||||
#include "pixman-renderer.h"
|
||||
#include "../shared/image-loader.h"
|
||||
#include "../shared/os-compatibility.h"
|
||||
#include "../shared/cairo-util.h"
|
||||
#include "shared/image-loader.h"
|
||||
#include "shared/os-compatibility.h"
|
||||
#include "shared/cairo-util.h"
|
||||
#include "fullscreen-shell-client-protocol.h"
|
||||
#include "presentation_timing-server-protocol.h"
|
||||
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
#include "compositor.h"
|
||||
#include "gl-renderer.h"
|
||||
#include "pixman-renderer.h"
|
||||
#include "../shared/config-parser.h"
|
||||
#include "../shared/image-loader.h"
|
||||
#include "shared/config-parser.h"
|
||||
#include "shared/image-loader.h"
|
||||
#include "presentation_timing-server-protocol.h"
|
||||
|
||||
#define DEFAULT_AXIS_STEP_DISTANCE wl_fixed_from_int(10)
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@
|
||||
#include "compositor.h"
|
||||
#include "scaler-server-protocol.h"
|
||||
#include "presentation_timing-server-protocol.h"
|
||||
#include "../shared/os-compatibility.h"
|
||||
#include "shared/os-compatibility.h"
|
||||
#include "git-version.h"
|
||||
#include "version.h"
|
||||
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "../shared/os-compatibility.h"
|
||||
#include "shared/os-compatibility.h"
|
||||
#include "compositor.h"
|
||||
|
||||
static void
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
#include <wayland-client.h>
|
||||
|
||||
#include "compositor.h"
|
||||
#include "../shared/os-compatibility.h"
|
||||
#include "shared/os-compatibility.h"
|
||||
#include "fullscreen-shell-client-protocol.h"
|
||||
|
||||
struct shared_output {
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
#include "compositor.h"
|
||||
#include "screenshooter-server-protocol.h"
|
||||
|
||||
#include "../wcap/wcap-decode.h"
|
||||
#include "wcap/wcap-decode.h"
|
||||
|
||||
struct screenshooter {
|
||||
struct weston_compositor *ec;
|
||||
|
||||
Reference in New Issue
Block a user