Skip to content

Commit

Permalink
common: Stop including utils-http in utils
Browse files Browse the repository at this point in the history
utils-http is conceptually larger than utils.

Signed-off-by: Simon McVittie <[email protected]>
  • Loading branch information
smcv authored and alexlarsson committed Jul 3, 2023
1 parent f6cf1b2 commit bf8e91c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/flatpak-builtins-install.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include "flatpak-transaction-private.h"
#include "flatpak-cli-transaction.h"
#include "flatpak-quiet-transaction.h"
#include "flatpak-utils-http-private.h"
#include "flatpak-utils-private.h"
#include "flatpak-error.h"
#include "flatpak-chain-input-stream-private.h"
Expand Down
1 change: 1 addition & 0 deletions app/flatpak-builtins-remote-add.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

#include "flatpak-builtins.h"
#include "flatpak-builtins-utils.h"
#include "flatpak-utils-http-private.h"
#include "flatpak-utils-private.h"

static gboolean opt_no_gpg_verify;
Expand Down
1 change: 1 addition & 0 deletions common/flatpak-oci-registry-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <gio/gio.h>
#include <archive.h>
#include "flatpak-json-oci-private.h"
#include "flatpak-utils-http-private.h"
#include "flatpak-utils-private.h"

#define FLATPAK_TYPE_OCI_REGISTRY flatpak_oci_registry_get_type ()
Expand Down
1 change: 1 addition & 0 deletions common/flatpak-transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "flatpak-installation-private.h"
#include "flatpak-progress-private.h"
#include "flatpak-transaction-private.h"
#include "flatpak-utils-http-private.h"
#include "flatpak-utils-private.h"
#include "flatpak-uri-private.h"
#include "flatpak-variant-impl-private.h"
Expand Down
1 change: 0 additions & 1 deletion common/flatpak-utils-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "flatpak-context-private.h"
#include "flatpak-error.h"
#include "flatpak-glib-backports-private.h"
#include "flatpak-utils-http-private.h"
#include "flatpak-variant-private.h"
#include "flatpak-dir-private.h"
#include <ostree.h>
Expand Down
2 changes: 2 additions & 0 deletions tests/httpcache.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include "libglnx.h"
#include "common/flatpak-utils-http-private.h"
#include "common/flatpak-utils-private.h"

int
Expand Down

0 comments on commit bf8e91c

Please sign in to comment.