NetworkManager/clients
Lubomir Rintel 3cd8c64c6d all: fix -Wcast-function-type warnings
GCC 8.0's -Wcast-function-type objects casting function pointers to ones
with incompatible prototypes. Sometimes we do that on purpose though.

Notably, the g_source_set_callback()'s func argument can point to functions
of various prototypes. Also, libnm-glib/nm-remote-connection is perhaps
just not worth reworking, that would just be a waste of time.

A cast to void(*)(void) avoids the GCC warning, let's use it.

(cherry picked from commit ee916a1e9e)
(cherry picked from commit 42913505a3)
2018-06-16 09:52:29 +02:00
..
cli nmcli: fix signal handling 2018-01-24 09:56:18 +01:00
common Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:10:24 +01:00
tui all: fix -Wcast-function-type warnings 2018-06-16 09:52:29 +02:00
nm-online.c nm-online: fix wrong assertion failure during nm-online 2017-02-07 19:42:30 +01:00