]> git.proxmox.com Git - fwupd.git/commitdiff
trivial: Remove the unused deprecated header files
authorRichard Hughes <richard@hughsie.com>
Sat, 11 Feb 2023 22:33:47 +0000 (22:33 +0000)
committerMario Limonciello <mario.limonciello@amd.com>
Thu, 23 Feb 2023 19:04:11 +0000 (13:04 -0600)
libfwupd/fwupd-client.c
libfwupd/fwupd-deprecated.h [deleted file]
libfwupd/fwupd-remote.c
libfwupd/fwupd.h
libfwupd/meson.build
libfwupdplugin/fu-deprecated.h [deleted file]
libfwupdplugin/fwupdplugin.h
libfwupdplugin/meson.build
meson.build

index 20b4de649c4dffbf49d73d45587db29dbc80d874..0fba1c864366568db476af1cb442c1c19bd8fa98 100644 (file)
@@ -24,7 +24,6 @@
 #include "fwupd-client-private.h"
 #include "fwupd-client-sync.h"
 #include "fwupd-common-private.h"
-#include "fwupd-deprecated.h"
 #include "fwupd-device-private.h"
 #include "fwupd-enums-private.h"
 #include "fwupd-error.h"
diff --git a/libfwupd/fwupd-deprecated.h b/libfwupd/fwupd-deprecated.h
deleted file mode 100644 (file)
index a367151..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright (C) 2017 Richard Hughes <richard@hughsie.com>
- *
- * SPDX-License-Identifier: LGPL-2.1+
- */
-
-#pragma once
-
-G_BEGIN_DECLS
-
-/* indeed, nothing */
-
-G_END_DECLS
index 63c2ecf88d4223166a128127ee4334dddf84af8c..fb43168441175ab746c11c6b91fac211f27e628c 100644 (file)
@@ -12,7 +12,6 @@
 #include <jcat.h>
 
 #include "fwupd-common-private.h"
-#include "fwupd-deprecated.h"
 #include "fwupd-enums-private.h"
 #include "fwupd-error.h"
 #include "fwupd-remote-private.h"
index cf4bc293a685a39cbe80fbfee3cd9fd64cdccf7e..bc06e939a4563b11e52233b5741ff2ba26438f2f 100644 (file)
@@ -23,8 +23,4 @@
 #include <libfwupd/fwupd-security-attr.h>
 #include <libfwupd/fwupd-version.h>
 
-#ifndef FWUPD_DISABLE_DEPRECATED
-#include <libfwupd/fwupd-deprecated.h>
-#endif
-
 #undef __FWUPD_H_INSIDE__
index f8954eacb1893796b714fa68765e3894b8a3b1f7..3f8d238d602446b89d6c9a41263a324c59abcfb3 100644 (file)
@@ -17,7 +17,6 @@ install_headers([
     'fwupd-client.h',
     'fwupd-client-sync.h',
     'fwupd-common.h',
-    'fwupd-deprecated.h',
     'fwupd-device.h',
     'fwupd-enums.h',
     'fwupd-error.h',
diff --git a/libfwupdplugin/fu-deprecated.h b/libfwupdplugin/fu-deprecated.h
deleted file mode 100644 (file)
index a367151..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright (C) 2017 Richard Hughes <richard@hughsie.com>
- *
- * SPDX-License-Identifier: LGPL-2.1+
- */
-
-#pragma once
-
-G_BEGIN_DECLS
-
-/* indeed, nothing */
-
-G_END_DECLS
index 721810d3ea56994abe49a4c62b90ad59d79d9bc7..71746b20a1dfd57f89ac25fd7174b97ba625b4df 100644 (file)
@@ -78,8 +78,4 @@
 #include <libfwupdplugin/fu-version-common.h>
 #include <libfwupdplugin/fu-volume.h>
 
-#ifndef FWUPD_DISABLE_DEPRECATED
-#include <libfwupdplugin/fu-deprecated.h>
-#endif
-
 #undef __FWUPDPLUGIN_H_INSIDE__
index ac8c15ea5e810bd2c4b48821bd55a3a788261c19..ce88bd15fec2c8fb0a11d8ff4e3d057238866c52 100644 (file)
@@ -129,7 +129,6 @@ fwupdplugin_headers = [
   'fu-common-guid.h',
   'fu-version-common.h',
   'fu-context.h',
-  'fu-deprecated.h',
   'fu-device.h',
   'fu-device-metadata.h',
   'fu-device-locker.h',
index 51f89aa72ee2436e6e7466fe4e0cf736085c0b6e..3eb58fba602b98d0b44b5072f688e9bc2738020a 100644 (file)
@@ -144,9 +144,6 @@ add_project_arguments('-DFWUPD_COMPILATION', language: 'c')
 # Needed for realpath(), syscall(), cfmakeraw(), etc.
 add_project_arguments('-D_DEFAULT_SOURCE', language: 'c')
 
-# do not use deprecated symbols or defines internally
-add_project_arguments('-DFWUPD_DISABLE_DEPRECATED', language: 'c')
-
 # needed for symlink() and BYTE_ORDER
 add_project_arguments('-D_BSD_SOURCE', language: 'c')
 add_project_arguments('-D__BSD_VISIBLE', language: 'c')