diff --git a/src/pulsecore/proplist-util.c b/src/pulsecore/proplist-util.c index bdae0e65d..d78eac07c 100644 --- a/src/pulsecore/proplist-util.c +++ b/src/pulsecore/proplist-util.c @@ -48,6 +48,7 @@ static G_CONST_RETURN gchar* _g_get_application_name(void) PA_GCC_WEAKREF(g_get_ #endif #if defined(HAVE_GTK) && defined(PA_GCC_WEAKREF) +#pragma GCC diagnostic ignored "-Wstrict-prototypes" #include #include static G_CONST_RETURN gchar* _gtk_window_get_default_icon_name(void) PA_GCC_WEAKREF(gtk_window_get_default_icon_name); diff --git a/src/tests/gtk-test.c b/src/tests/gtk-test.c index a2d3e69a1..092ba25c5 100644 --- a/src/tests/gtk-test.c +++ b/src/tests/gtk-test.c @@ -17,6 +17,8 @@ USA. ***/ +#pragma GCC diagnostic ignored "-Wstrict-prototypes" + #ifdef HAVE_CONFIG_H #include #endif