summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2022-03-09 12:35:58 +0100
committerAleksander Morgado <aleksander@aleksander.es>2022-03-09 12:48:31 +0100
commit39a5fb6b0fff0cbce42921784a127496e9cad6b0 (patch)
tree538978f9c37c861e805a268a262fd67a1bcff0e8
parentff7838713853b631cce3d2379dc6dbbec99a3cb1 (diff)
downloadlibqmi-39a5fb6b0fff0cbce42921784a127496e9cad6b0.tar.gz
qmi-firmware-update: rename 'qfu-udev-helpers.h' to 'qfu-helpers.h'
The header contains logic that is generic, not everything is udev specific.
-rw-r--r--src/qmi-firmware-update/qfu-device-selection.c2
-rw-r--r--src/qmi-firmware-update/qfu-helpers.h (renamed from src/qmi-firmware-update/qfu-udev-helpers.h)6
-rw-r--r--src/qmi-firmware-update/qfu-main.c2
-rw-r--r--src/qmi-firmware-update/qfu-udev-helpers.c2
-rw-r--r--src/qmi-firmware-update/qfu-updater.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/qmi-firmware-update/qfu-device-selection.c b/src/qmi-firmware-update/qfu-device-selection.c
index 5e0b2f03..7eeaf17a 100644
--- a/src/qmi-firmware-update/qfu-device-selection.c
+++ b/src/qmi-firmware-update/qfu-device-selection.c
@@ -27,7 +27,7 @@
#include <libqmi-glib.h>
#include "qfu-device-selection.h"
-#include "qfu-udev-helpers.h"
+#include "qfu-helpers.h"
G_DEFINE_TYPE (QfuDeviceSelection, qfu_device_selection, G_TYPE_OBJECT)
diff --git a/src/qmi-firmware-update/qfu-udev-helpers.h b/src/qmi-firmware-update/qfu-helpers.h
index d634b475..60dac914 100644
--- a/src/qmi-firmware-update/qfu-udev-helpers.h
+++ b/src/qmi-firmware-update/qfu-helpers.h
@@ -19,8 +19,8 @@
* Copyright (C) 2016-2017 Aleksander Morgado <aleksander@aleksander.es>
*/
-#ifndef QFU_UDEV_HELPERS_H
-#define QFU_UDEV_HELPERS_H
+#ifndef QFU_HELPERS_H
+#define QFU_HELPERS_H
#include "config.h"
@@ -70,4 +70,4 @@ void qfu_udev_helper_generic_monitor_free (QfuUdevHelper
G_END_DECLS
-#endif /* QFU_UDEV_HELPERS_H */
+#endif /* QFU_HELPERS_H */
diff --git a/src/qmi-firmware-update/qfu-main.c b/src/qmi-firmware-update/qfu-main.c
index 5547862c..590d9d47 100644
--- a/src/qmi-firmware-update/qfu-main.c
+++ b/src/qmi-firmware-update/qfu-main.c
@@ -32,7 +32,7 @@
#include "qfu-log.h"
#include "qfu-operation.h"
#include "qfu-device-selection.h"
-#include "qfu-udev-helpers.h"
+#include "qfu-helpers.h"
#include "qfu-utils.h"
#define PROGRAM_NAME "qmi-firmware-update"
diff --git a/src/qmi-firmware-update/qfu-udev-helpers.c b/src/qmi-firmware-update/qfu-udev-helpers.c
index 3eff81d8..7faf26cc 100644
--- a/src/qmi-firmware-update/qfu-udev-helpers.c
+++ b/src/qmi-firmware-update/qfu-udev-helpers.c
@@ -29,7 +29,7 @@
# include <gudev/gudev.h>
#endif
-#include "qfu-udev-helpers.h"
+#include "qfu-helpers.h"
/******************************************************************************/
diff --git a/src/qmi-firmware-update/qfu-updater.c b/src/qmi-firmware-update/qfu-updater.c
index 895df255..a33fc78e 100644
--- a/src/qmi-firmware-update/qfu-updater.c
+++ b/src/qmi-firmware-update/qfu-updater.c
@@ -31,7 +31,7 @@
#include "qfu-updater.h"
#include "qfu-reseter.h"
#include "qfu-utils.h"
-#include "qfu-udev-helpers.h"
+#include "qfu-helpers.h"
#include "qfu-qdl-device.h"
#include "qfu-sahara-device.h"
#include "qfu-enum-types.h"