glib-backports: Provide G_SOURCE_FUNC
This avoids gcc warnings by making use of the fact that gcc allows casts
of any function pointer to/from a function with no result and no
arguments, which both gcc and GLib use as a stand-in for a function with
unspecified result and unspecified arguments.
Signed-off-by:
Simon McVittie <smcv@collabora.com>
parent
ba3eab48
No related branches found
No related tags found
Showing
- pressure-vessel/utils.c 1 addition, 1 deletionpressure-vessel/utils.c
- steam-runtime-tools/direct-input-device.c 1 addition, 1 deletionsteam-runtime-tools/direct-input-device.c
- steam-runtime-tools/glib-backports-internal.h 4 additions, 0 deletionssteam-runtime-tools/glib-backports-internal.h
- steam-runtime-tools/glib-backports.c 1 addition, 1 deletionsteam-runtime-tools/glib-backports.c
- steam-runtime-tools/pty-bridge.c 4 additions, 4 deletionssteam-runtime-tools/pty-bridge.c
- steam-runtime-tools/udev-input-device.c 1 addition, 1 deletionsteam-runtime-tools/udev-input-device.c
- tests/input-device.c 1 addition, 0 deletionstests/input-device.c
Loading
Please register or sign in to comment