mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
Fixes compilation with GCC 15. Remove upstreamed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
28 lines
684 B
Diff
28 lines
684 B
Diff
--- a/obexd/client/sync.c
|
|
+++ b/obexd/client/sync.c
|
|
@@ -210,7 +210,7 @@ static void sync_remove(struct obc_sessi
|
|
g_dbus_unregister_interface(conn, path, SYNC_INTERFACE);
|
|
}
|
|
|
|
-static struct obc_driver sync = {
|
|
+static struct obc_driver sync2 = {
|
|
.service = "SYNC",
|
|
.uuid = SYNC_UUID,
|
|
.target = OBEX_SYNC_UUID,
|
|
@@ -229,7 +229,7 @@ int sync_init(void)
|
|
if (!conn)
|
|
return -EIO;
|
|
|
|
- err = obc_driver_register(&sync);
|
|
+ err = obc_driver_register(&sync2);
|
|
if (err < 0) {
|
|
dbus_connection_unref(conn);
|
|
conn = NULL;
|
|
@@ -246,5 +246,5 @@ void sync_exit(void)
|
|
dbus_connection_unref(conn);
|
|
conn = NULL;
|
|
|
|
- obc_driver_unregister(&sync);
|
|
+ obc_driver_unregister(&sync2);
|
|
}
|