[ostree] Juggling libglnx.h includes
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] Juggling libglnx.h includes
- Date: Thu, 7 May 2015 02:17:03 +0000 (UTC)
commit 4f33515316a374867e093171f219cbd6e5e4f5bd
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon May 4 18:08:49 2015 -0400
Juggling libglnx.h includes
Makefile-libostree.am | 2 +-
src/libostree/ostree-deployment.c | 1 +
src/libostree/ostree-kernel-args.c | 1 +
src/libostree/ostree-rollsum.c | 1 +
src/ostree/ot-builtin-remote.c | 2 --
src/ostree/ot-editor.c | 1 +
src/ostree/ot-main.c | 2 --
src/ostree/ot-main.h | 1 +
src/ostree/ot-remote-builtin-add.c | 2 --
src/ostree/ot-remote-builtin-delete.c | 2 --
src/ostree/ot-remote-builtin-list.c | 2 --
src/ostree/ot-remote-builtin-show-url.c | 2 --
tests/test-bsdiff.c | 1 +
tests/test-keyfile-utils.c | 1 +
tests/test-mutable-tree.c | 1 +
tests/test-ot-tool-util.c | 1 +
tests/test-ot-unix-utils.c | 1 +
tests/test-varint.c | 1 +
18 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 776f551..85fbb44 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -25,7 +25,7 @@ libostree_kernel_args_la_SOURCES = \
src/libostree/ostree-kernel-args.h \
src/libostree/ostree-kernel-args.c \
$(NULL)
-libostree_kernel_args_la_CFLAGS = $(OT_INTERNAL_GIO_UNIX_CFLAGS)
+libostree_kernel_args_la_CFLAGS = -I$(srcdir)/libglnx $(OT_INTERNAL_GIO_UNIX_CFLAGS)
libostree_kernel_args_la_LIBADD = $(OT_INTERNAL_GIO_UNIX_LIBS)
lib_LTLIBRARIES += libostree-1.la
diff --git a/src/libostree/ostree-deployment.c b/src/libostree/ostree-deployment.c
index 0f98c59..c204f43 100644
--- a/src/libostree/ostree-deployment.c
+++ b/src/libostree/ostree-deployment.c
@@ -22,6 +22,7 @@
#include "ostree-deployment.h"
#include "libgsystem.h"
+#include "libglnx.h"
struct _OstreeDeployment
{
diff --git a/src/libostree/ostree-kernel-args.c b/src/libostree/ostree-kernel-args.c
index 524b9cd..e4dfec0 100644
--- a/src/libostree/ostree-kernel-args.c
+++ b/src/libostree/ostree-kernel-args.c
@@ -22,6 +22,7 @@
#include "ostree-kernel-args.h"
#include "libgsystem.h"
+#include "libglnx.h"
#include <string.h>
diff --git a/src/libostree/ostree-rollsum.c b/src/libostree/ostree-rollsum.c
index 5a57e1c..c6f0876 100644
--- a/src/libostree/ostree-rollsum.c
+++ b/src/libostree/ostree-rollsum.c
@@ -25,6 +25,7 @@
#include "ostree-rollsum.h"
#include "libgsystem.h"
+#include "libglnx.h"
#include "bupsplit.h"
#define ROLLSUM_BLOB_MAX (8192*4)
diff --git a/src/ostree/ot-builtin-remote.c b/src/ostree/ot-builtin-remote.c
index 5fc027f..608b9ef 100644
--- a/src/ostree/ot-builtin-remote.c
+++ b/src/ostree/ot-builtin-remote.c
@@ -22,8 +22,6 @@
#include "config.h"
-#include <libglnx.h>
-
#include "ot-main.h"
#include "ot-builtins.h"
#include "ot-remote-builtins.h"
diff --git a/src/ostree/ot-editor.c b/src/ostree/ot-editor.c
index 4a7a90b..05fbe1f 100644
--- a/src/ostree/ot-editor.c
+++ b/src/ostree/ot-editor.c
@@ -24,6 +24,7 @@
#include "ot-editor.h"
#include "libgsystem.h"
+#include "libglnx.h"
#include <sys/wait.h>
#include <string.h>
diff --git a/src/ostree/ot-main.c b/src/ostree/ot-main.c
index 47ea36c..0a75bee 100644
--- a/src/ostree/ot-main.c
+++ b/src/ostree/ot-main.c
@@ -27,8 +27,6 @@
#include <stdlib.h>
#include <string.h>
-#include <libglnx.h>
-
#include "ostree.h"
#include "ot-main.h"
#include "otutil.h"
diff --git a/src/ostree/ot-main.h b/src/ostree/ot-main.h
index 60ddb36..4dd6f41 100644
--- a/src/ostree/ot-main.h
+++ b/src/ostree/ot-main.h
@@ -23,6 +23,7 @@
#pragma once
#include "ostree.h"
+#include "libglnx.h"
typedef enum {
OSTREE_BUILTIN_FLAG_NONE = 0,
diff --git a/src/ostree/ot-remote-builtin-add.c b/src/ostree/ot-remote-builtin-add.c
index 99e47e7..f6dbe53 100644
--- a/src/ostree/ot-remote-builtin-add.c
+++ b/src/ostree/ot-remote-builtin-add.c
@@ -20,8 +20,6 @@
#include "config.h"
-#include <libglnx.h>
-
#include "otutil.h"
#include "ot-tool-util.h"
diff --git a/src/ostree/ot-remote-builtin-delete.c b/src/ostree/ot-remote-builtin-delete.c
index d8d16db..caa5cf8 100644
--- a/src/ostree/ot-remote-builtin-delete.c
+++ b/src/ostree/ot-remote-builtin-delete.c
@@ -20,8 +20,6 @@
#include "config.h"
-#include <libglnx.h>
-
#include "otutil.h"
#include "ot-main.h"
diff --git a/src/ostree/ot-remote-builtin-list.c b/src/ostree/ot-remote-builtin-list.c
index 8e4c3d1..c42c44b 100644
--- a/src/ostree/ot-remote-builtin-list.c
+++ b/src/ostree/ot-remote-builtin-list.c
@@ -20,8 +20,6 @@
#include "config.h"
-#include <libglnx.h>
-
#include "ot-main.h"
#include "ot-remote-builtins.h"
diff --git a/src/ostree/ot-remote-builtin-show-url.c b/src/ostree/ot-remote-builtin-show-url.c
index dea8efc..a4b447c 100644
--- a/src/ostree/ot-remote-builtin-show-url.c
+++ b/src/ostree/ot-remote-builtin-show-url.c
@@ -20,8 +20,6 @@
#include "config.h"
-#include <libglnx.h>
-
#include "otutil.h"
#include "ot-main.h"
diff --git a/tests/test-bsdiff.c b/tests/test-bsdiff.c
index 1715532..1769cb9 100644
--- a/tests/test-bsdiff.c
+++ b/tests/test-bsdiff.c
@@ -21,6 +21,7 @@
#include "config.h"
#include "libgsystem.h"
+#include "libglnx.h"
#include "bsdiff/bsdiff.h"
#include "bsdiff/bspatch.h"
#include <glib.h>
diff --git a/tests/test-keyfile-utils.c b/tests/test-keyfile-utils.c
index cdf765c..25e86f6 100644
--- a/tests/test-keyfile-utils.c
+++ b/tests/test-keyfile-utils.c
@@ -20,6 +20,7 @@
#include "config.h"
#include "libgsystem.h"
+#include "libglnx.h"
#include <glib.h>
#include <stdlib.h>
#include <gio/gio.h>
diff --git a/tests/test-mutable-tree.c b/tests/test-mutable-tree.c
index b0c2386..771ccab 100644
--- a/tests/test-mutable-tree.c
+++ b/tests/test-mutable-tree.c
@@ -20,6 +20,7 @@
#include "config.h"
#include "libgsystem.h"
+#include "libglnx.h"
#include "ostree-mutable-tree.h"
#include <glib.h>
#include <stdlib.h>
diff --git a/tests/test-ot-tool-util.c b/tests/test-ot-tool-util.c
index 39807da..e9b3521 100644
--- a/tests/test-ot-tool-util.c
+++ b/tests/test-ot-tool-util.c
@@ -20,6 +20,7 @@
#include "config.h"
#include "libgsystem.h"
+#include "libglnx.h"
#include "ostree-mutable-tree.h"
#include <glib.h>
#include <stdlib.h>
diff --git a/tests/test-ot-unix-utils.c b/tests/test-ot-unix-utils.c
index cd167a2..e212514 100644
--- a/tests/test-ot-unix-utils.c
+++ b/tests/test-ot-unix-utils.c
@@ -21,6 +21,7 @@
#include "config.h"
#include "libgsystem.h"
+#include "libglnx.h"
#include "ot-unix-utils.h"
#include <glib.h>
diff --git a/tests/test-varint.c b/tests/test-varint.c
index 1dc6ec1..e069fc5 100644
--- a/tests/test-varint.c
+++ b/tests/test-varint.c
@@ -21,6 +21,7 @@
#include "config.h"
#include "libgsystem.h"
+#include "libglnx.h"
#include "ostree-varint.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]