NetworkManager/shared/nm-utils
Lubomir Rintel 42913505a3 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)
2018-04-12 14:07:51 +02:00
..
c-list-util.c
c-list-util.h
c-list.h
gsystem-local-alloc.h
nm-dedup-multi.c
nm-dedup-multi.h
nm-enum-utils.c
nm-enum-utils.h
nm-glib.h
nm-hash-utils.c
nm-hash-utils.h
nm-macros-internal.h
nm-obj.h
nm-random-utils.c
nm-random-utils.h
nm-shared-utils.c
nm-shared-utils.h
nm-test-utils.h
nm-udev-utils.c
nm-udev-utils.h
nm-vpn-editor-plugin-call.h
nm-vpn-plugin-macros.h
nm-vpn-plugin-utils.c
nm-vpn-plugin-utils.h
siphash24.c
siphash24.h
unaligned.h