diff options
| author | Michael Biebl <biebl@debian.org> | 2018-05-11 22:09:26 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-05-11 22:09:26 +0200 |
| commit | 341d403947279cd347ebd975cae8977703c0b1f3 (patch) | |
| tree | 34fa6425901e37182b353e7c95dd1d1ec8bc41ec /shared | |
| parent | 962a081193fcc84bbcead3dac6ebe36ccf4415ed (diff) | |
| parent | ee9c73a923909e23a649407be77e25235d769e25 (diff) | |
Update upstream source from tag 'upstream/1.10.8'
Update to upstream version '1.10.8' with Debian dir 3c3431643bdd2871afa3e1131ed2320f988f564d
Diffstat (limited to 'shared')
| -rw-r--r-- | shared/nm-utils/nm-dedup-multi.c | 4 | ||||
| -rw-r--r-- | shared/nm-utils/nm-dedup-multi.h | 2 | ||||
| -rw-r--r-- | shared/nm-utils/nm-udev-utils.c | 2 | ||||
| -rw-r--r-- | shared/nm-version-macros.h | 7 | ||||
| -rw-r--r-- | shared/nm-version-macros.h.in | 5 |
5 files changed, 10 insertions, 10 deletions
diff --git a/shared/nm-utils/nm-dedup-multi.c b/shared/nm-utils/nm-dedup-multi.c index ee310a7b..59b647ed 100644 --- a/shared/nm-utils/nm-dedup-multi.c +++ b/shared/nm-utils/nm-dedup-multi.c @@ -877,7 +877,7 @@ nm_dedup_multi_index_obj_intern (NMDedupMultiIndex *self, return obj_new; } -const NMDedupMultiObj * +void nm_dedup_multi_obj_unref (const NMDedupMultiObj *obj) { if (obj) { @@ -899,8 +899,6 @@ again: obj->klass->obj_destroy ((NMDedupMultiObj *) obj); } } - - return NULL; } gboolean diff --git a/shared/nm-utils/nm-dedup-multi.h b/shared/nm-utils/nm-dedup-multi.h index bebfe43d..6286d6a4 100644 --- a/shared/nm-utils/nm-dedup-multi.h +++ b/shared/nm-utils/nm-dedup-multi.h @@ -97,7 +97,7 @@ nm_dedup_multi_obj_ref (const NMDedupMultiObj *obj) return obj; } -const NMDedupMultiObj *nm_dedup_multi_obj_unref (const NMDedupMultiObj *obj); +void nm_dedup_multi_obj_unref (const NMDedupMultiObj *obj); const NMDedupMultiObj *nm_dedup_multi_obj_clone (const NMDedupMultiObj *obj); gboolean nm_dedup_multi_obj_needs_clone (const NMDedupMultiObj *obj); diff --git a/shared/nm-utils/nm-udev-utils.c b/shared/nm-utils/nm-udev-utils.c index 79d4426d..709f7590 100644 --- a/shared/nm-utils/nm-udev-utils.c +++ b/shared/nm-utils/nm-udev-utils.c @@ -257,7 +257,7 @@ nm_udev_client_new (const char *const*subsystems, channel = g_io_channel_unix_new (udev_monitor_get_fd (self->monitor)); self->watch_source = g_io_create_watch (channel, G_IO_IN); g_io_channel_unref (channel); - g_source_set_callback (self->watch_source, (GSourceFunc) monitor_event, self, NULL); + g_source_set_callback (self->watch_source, (GSourceFunc)(void (*) (void)) monitor_event, self, NULL); g_source_attach (self->watch_source, g_main_context_get_thread_default ()); g_source_unref (self->watch_source); } diff --git a/shared/nm-version-macros.h b/shared/nm-version-macros.h index b309997c..2ef9960b 100644 --- a/shared/nm-version-macros.h +++ b/shared/nm-version-macros.h @@ -45,7 +45,7 @@ * Evaluates to the micro version number of NetworkManager which this source * compiled against. */ -#define NM_MICRO_VERSION (6) +#define NM_MICRO_VERSION (8) /** * NM_CHECK_VERSION: @@ -75,9 +75,10 @@ #define NM_VERSION_1_10_2 (NM_ENCODE_VERSION (1, 10, 2)) #define NM_VERSION_1_10_4 (NM_ENCODE_VERSION (1, 10, 4)) #define NM_VERSION_1_10_6 (NM_ENCODE_VERSION (1, 10, 6)) +#define NM_VERSION_1_10_8 (NM_ENCODE_VERSION (1, 10, 8)) -#define NM_VERSION_CUR_STABLE NM_VERSION_1_10_6 -#define NM_VERSION_NEXT_STABLE NM_VERSION_1_10_6 +#define NM_VERSION_CUR_STABLE NM_VERSION_1_10_8 +#define NM_VERSION_NEXT_STABLE NM_VERSION_1_10_8 #define NM_VERSION NM_ENCODE_VERSION (NM_MAJOR_VERSION, NM_MINOR_VERSION, NM_MICRO_VERSION) diff --git a/shared/nm-version-macros.h.in b/shared/nm-version-macros.h.in index f92bed82..cb1d545a 100644 --- a/shared/nm-version-macros.h.in +++ b/shared/nm-version-macros.h.in @@ -75,9 +75,10 @@ #define NM_VERSION_1_10_2 (NM_ENCODE_VERSION (1, 10, 2)) #define NM_VERSION_1_10_4 (NM_ENCODE_VERSION (1, 10, 4)) #define NM_VERSION_1_10_6 (NM_ENCODE_VERSION (1, 10, 6)) +#define NM_VERSION_1_10_8 (NM_ENCODE_VERSION (1, 10, 8)) -#define NM_VERSION_CUR_STABLE NM_VERSION_1_10_6 -#define NM_VERSION_NEXT_STABLE NM_VERSION_1_10_6 +#define NM_VERSION_CUR_STABLE NM_VERSION_1_10_8 +#define NM_VERSION_NEXT_STABLE NM_VERSION_1_10_8 #define NM_VERSION NM_ENCODE_VERSION (NM_MAJOR_VERSION, NM_MINOR_VERSION, NM_MICRO_VERSION) |