[ostree] ostree: Some header file cleanups
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] ostree: Some header file cleanups
- Date: Wed, 10 Jul 2013 00:55:53 +0000 (UTC)
commit 88cca89317a77eae2f69541c47c017cd541329d3
Author: Colin Walters <walters verbum org>
Date: Tue Jul 9 20:30:00 2013 -0400
ostree: Some header file cleanups
src/ostree/ot-builtin-cat.c | 2 --
src/ostree/ot-builtin-checkout.c | 2 --
src/ostree/ot-builtin-checksum.c | 2 --
src/ostree/ot-builtin-commit.c | 4 ----
src/ostree/ot-builtin-config.c | 2 --
src/ostree/ot-builtin-diff.c | 2 --
src/ostree/ot-builtin-fsck.c | 3 ---
src/ostree/ot-builtin-init.c | 2 --
src/ostree/ot-builtin-log.c | 2 --
src/ostree/ot-builtin-ls.c | 2 --
src/ostree/ot-builtin-prune.c | 3 ---
src/ostree/ot-builtin-pull-local.c | 6 +++---
src/ostree/ot-builtin-pull.c | 4 ----
src/ostree/ot-builtin-refs.c | 1 -
src/ostree/ot-builtin-remote.c | 2 --
src/ostree/ot-builtin-rev-parse.c | 2 --
src/ostree/ot-builtin-show.c | 2 --
src/ostree/ot-builtin-trivial-httpd.c | 6 ------
src/ostree/ot-builtin-write-refs.c | 2 --
19 files changed, 3 insertions(+), 48 deletions(-)
---
diff --git a/src/ostree/ot-builtin-cat.c b/src/ostree/ot-builtin-cat.c
index 3169e49..4650ee4 100644
--- a/src/ostree/ot-builtin-cat.c
+++ b/src/ostree/ot-builtin-cat.c
@@ -24,10 +24,8 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include "ostree-repo-file.h"
#include <gio/gunixoutputstream.h>
-#include <glib/gi18n.h>
static GOptionEntry options[] = {
};
diff --git a/src/ostree/ot-builtin-checkout.c b/src/ostree/ot-builtin-checkout.c
index 25433af..e2ada07 100644
--- a/src/ostree/ot-builtin-checkout.c
+++ b/src/ostree/ot-builtin-checkout.c
@@ -27,8 +27,6 @@
#include <gio/gunixinputstream.h>
-#include <glib/gi18n.h>
-
static gboolean opt_user_mode;
static gboolean opt_allow_noent;
static char *opt_subpath;
diff --git a/src/ostree/ot-builtin-checksum.c b/src/ostree/ot-builtin-checksum.c
index 150a24f..89dc4ab 100644
--- a/src/ostree/ot-builtin-checksum.c
+++ b/src/ostree/ot-builtin-checksum.c
@@ -25,8 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-
static GOptionEntry options[] = {
{ NULL }
};
diff --git a/src/ostree/ot-builtin-commit.c b/src/ostree/ot-builtin-commit.c
index b79a3a3..805dfcd 100644
--- a/src/ostree/ot-builtin-commit.c
+++ b/src/ostree/ot-builtin-commit.c
@@ -25,10 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <gio/gunixoutputstream.h>
-
-#include <glib/gi18n.h>
-
static char *metadata_text_path;
static char *metadata_bin_path;
static char *subject;
diff --git a/src/ostree/ot-builtin-config.c b/src/ostree/ot-builtin-config.c
index 2165b0c..28c26dd 100644
--- a/src/ostree/ot-builtin-config.c
+++ b/src/ostree/ot-builtin-config.c
@@ -25,8 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-
static GOptionEntry options[] = {
{ NULL }
};
diff --git a/src/ostree/ot-builtin-diff.c b/src/ostree/ot-builtin-diff.c
index 9c091d7..484f036 100644
--- a/src/ostree/ot-builtin-diff.c
+++ b/src/ostree/ot-builtin-diff.c
@@ -25,8 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-
static GOptionEntry options[] = {
{ NULL }
};
diff --git a/src/ostree/ot-builtin-fsck.c b/src/ostree/ot-builtin-fsck.c
index 65dd70b..fe2b6df 100644
--- a/src/ostree/ot-builtin-fsck.c
+++ b/src/ostree/ot-builtin-fsck.c
@@ -25,9 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-#include <glib/gprintf.h>
-
static gboolean quiet;
static gboolean delete;
diff --git a/src/ostree/ot-builtin-init.c b/src/ostree/ot-builtin-init.c
index 08cf222..add3aab 100644
--- a/src/ostree/ot-builtin-init.c
+++ b/src/ostree/ot-builtin-init.c
@@ -25,8 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-
static gboolean opt_archive;
static char *opt_mode = NULL;
diff --git a/src/ostree/ot-builtin-log.c b/src/ostree/ot-builtin-log.c
index ebc30e1..638cec8 100644
--- a/src/ostree/ot-builtin-log.c
+++ b/src/ostree/ot-builtin-log.c
@@ -25,8 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-
static GOptionEntry options[] = {
{ NULL }
};
diff --git a/src/ostree/ot-builtin-ls.c b/src/ostree/ot-builtin-ls.c
index 4e08181..333d956 100644
--- a/src/ostree/ot-builtin-ls.c
+++ b/src/ostree/ot-builtin-ls.c
@@ -26,8 +26,6 @@
#include "ostree.h"
#include "ostree-repo-file.h"
-#include <glib/gi18n.h>
-
static gboolean recursive;
static gboolean checksum;
static gboolean xattrs;
diff --git a/src/ostree/ot-builtin-prune.c b/src/ostree/ot-builtin-prune.c
index 3c0a68c..be22f4c 100644
--- a/src/ostree/ot-builtin-prune.c
+++ b/src/ostree/ot-builtin-prune.c
@@ -25,9 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-#include <glib/gprintf.h>
-
static gboolean opt_no_prune;
static gint opt_depth = -1;
static gboolean opt_refs_only;
diff --git a/src/ostree/ot-builtin-pull-local.c b/src/ostree/ot-builtin-pull-local.c
index 9a8cdfa..da5374e 100644
--- a/src/ostree/ot-builtin-pull-local.c
+++ b/src/ostree/ot-builtin-pull-local.c
@@ -22,12 +22,12 @@
#include "config.h"
-#include "ot-builtins.h"
-#include "ostree.h"
-
#include <unistd.h>
#include <stdlib.h>
+#include "ot-builtins.h"
+#include "ostree.h"
+
static char *opt_remote;
static GOptionEntry options[] = {
diff --git a/src/ostree/ot-builtin-pull.c b/src/ostree/ot-builtin-pull.c
index a3aa73b..5753cd8 100644
--- a/src/ostree/ot-builtin-pull.c
+++ b/src/ostree/ot-builtin-pull.c
@@ -24,10 +24,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include "ostree-repo-file.h"
-
-#include <gio/gunixoutputstream.h>
-#include <glib/gi18n.h>
gboolean opt_related;
diff --git a/src/ostree/ot-builtin-refs.c b/src/ostree/ot-builtin-refs.c
index 3164604..0c8c751 100644
--- a/src/ostree/ot-builtin-refs.c
+++ b/src/ostree/ot-builtin-refs.c
@@ -24,7 +24,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include "ostree-repo-file.h"
static gboolean opt_delete;
diff --git a/src/ostree/ot-builtin-remote.c b/src/ostree/ot-builtin-remote.c
index 6039862..16ecbea 100644
--- a/src/ostree/ot-builtin-remote.c
+++ b/src/ostree/ot-builtin-remote.c
@@ -25,8 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-
static GOptionEntry options[] = {
{ NULL }
};
diff --git a/src/ostree/ot-builtin-rev-parse.c b/src/ostree/ot-builtin-rev-parse.c
index e864c7c..c29172c 100644
--- a/src/ostree/ot-builtin-rev-parse.c
+++ b/src/ostree/ot-builtin-rev-parse.c
@@ -25,8 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-
static GOptionEntry options[] = {
{ NULL }
};
diff --git a/src/ostree/ot-builtin-show.c b/src/ostree/ot-builtin-show.c
index b323cc3..543672f 100644
--- a/src/ostree/ot-builtin-show.c
+++ b/src/ostree/ot-builtin-show.c
@@ -25,8 +25,6 @@
#include "ot-builtins.h"
#include "ostree.h"
-#include <glib/gi18n.h>
-
static gboolean print_related;
static char* print_variant_type;
static char* print_metadata_key;
diff --git a/src/ostree/ot-builtin-trivial-httpd.c b/src/ostree/ot-builtin-trivial-httpd.c
index 83484fc..ac11c72 100644
--- a/src/ostree/ot-builtin-trivial-httpd.c
+++ b/src/ostree/ot-builtin-trivial-httpd.c
@@ -23,13 +23,7 @@
#include <libsoup/soup.h>
#include "ot-builtins.h"
-#include "ot-admin-builtins.h"
-#include "ot-admin-functions.h"
-#include "ot-main.h"
#include "ostree.h"
-#include "ostree-repo-file.h"
-
-#include <glib/gi18n.h>
static char *opt_port_file = NULL;
static gboolean opt_daemonize;
diff --git a/src/ostree/ot-builtin-write-refs.c b/src/ostree/ot-builtin-write-refs.c
index 6422b3c..01185d8 100644
--- a/src/ostree/ot-builtin-write-refs.c
+++ b/src/ostree/ot-builtin-write-refs.c
@@ -28,8 +28,6 @@
#include <gio/gunixoutputstream.h>
#include <gio/gunixinputstream.h>
-#include <glib/gi18n.h>
-
static GOptionEntry options[] = {
{ NULL }
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]