qulogic/gplugin

Replace GPLUGIN_UNUSED by G_GNUC_UNUSED.
feature/new-glib-stuff
2019-01-25, Elliott Sales de Andrade
a0edf0043321
Parents 3e9310ee57d7
Children 7feb68889f3e
Replace GPLUGIN_UNUSED by G_GNUC_UNUSED.
  • +15 -15
    gplugin-gtk-viewer/gplugin-gtk-viewer.c
  • +1 -1
    gplugin-gtk/gplugin-gtk-plugin-info.c
  • +2 -2
    gplugin/gplugin-file-tree.c
  • +2 -2
    gplugin/gplugin-loader.c
  • +9 -9
    gplugin/gplugin-manager.c
  • +4 -4
    gplugin/gplugin-native-loader.c
  • +4 -4
    gplugin/gplugin-native-plugin.c
  • +8 -8
    gplugin/gplugin-options.c
  • +1 -1
    gplugin/gplugin-plugin-info.c
  • +2 -2
    gplugin/gplugin-private.c
  • +20 -20
    gplugin/gplugin-query.c
  • +5 -5
    gplugin/tests/bad-plugins/query-error.c
  • +5 -5
    gplugin/tests/bind-local/bind-local.c
  • +7 -7
    gplugin/tests/dynamic-type/dynamic-type-provider.c
  • +3 -3
    gplugin/tests/dynamic-type/dynamic-type-user.c
  • +5 -5
    gplugin/tests/id-collision/id-collision1.c
  • +5 -5
    gplugin/tests/id-collision/id-collision2.c
  • +4 -4
    gplugin/tests/load-on-query-fail/load-on-query-fail.c
  • +5 -5
    gplugin/tests/load-on-query-pass/load-on-query-pass.c
  • +5 -5
    gplugin/tests/plugins/basic-plugin.c
  • +5 -5
    gplugin/tests/plugins/broken-dependent-plugin.c
  • +5 -5
    gplugin/tests/plugins/dependent-plugin.c
  • +5 -5
    gplugin/tests/plugins/load-exception.c
  • +4 -4
    gplugin/tests/plugins/load-failed.c
  • +4 -4
    gplugin/tests/plugins/unload-failed.c
  • +2 -2
    gplugin/tests/test-plugin-info.c
  • +16 -16
    gplugin/tests/test-signals.c
  • +1 -1
    gplugin/tests/test-versioned-dependencies.c
  • +5 -5
    gplugin/tests/unresolved-symbol/unresolved-symbol.c
  • +5 -5
    gplugin/tests/versioned-dependencies/bar.c
  • +5 -5
    gplugin/tests/versioned-dependencies/baz.c
  • +5 -5
    gplugin/tests/versioned-dependencies/exact1.c
  • +5 -5
    gplugin/tests/versioned-dependencies/exact2.c
  • +5 -5
    gplugin/tests/versioned-dependencies/fez.c
  • +5 -5
    gplugin/tests/versioned-dependencies/greater-equal.c
  • +5 -5
    gplugin/tests/versioned-dependencies/greater.c
  • +5 -5
    gplugin/tests/versioned-dependencies/less-equal.c
  • +5 -5
    gplugin/tests/versioned-dependencies/less.c
  • +5 -5
    gplugin/tests/versioned-dependencies/no-version.c
  • +5 -5
    gplugin/tests/versioned-dependencies/super-dependent.c
  • +4 -4
    lua/gplugin-lua-core.c
  • +4 -4
    lua/gplugin-lua-loader.c
  • +3 -3
    lua/gplugin-lua-plugin.c
  • +0 -14
    meson.build
  • +5 -5
    plugins/gplugin-license-check.c
  • +4 -4
    python/gplugin-python-core.c
  • +8 -7
    python/gplugin-python-loader.c
  • +4 -3
    python/gplugin-python-plugin.c
  • +4 -4
    tcc/gplugin-tcc-core.c
  • +3 -3
    tcc/gplugin-tcc-loader.c
  • +5 -5
    tcc/tests/plugins/basic-plugin.c
  • +5 -5
    tcc/tests/plugins/dependent.c
  • +5 -5
    tcc/tests/plugins/load-exception.c
  • +4 -4
    tcc/tests/plugins/load-failed.c
  • +4 -4
    tcc/tests/plugins/unload-failed.c
  • --- a/gplugin-gtk-viewer/gplugin-gtk-viewer.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin-gtk-viewer/gplugin-gtk-viewer.c Fri Jan 25 01:11:35 2019 -0500
    @@ -34,9 +34,9 @@
    * Callbacks
    *****************************************************************************/
    static gboolean
    -window_closed_cb(GPLUGIN_UNUSED GtkWidget *w,
    - GPLUGIN_UNUSED GdkEvent *e,
    - GPLUGIN_UNUSED gpointer d)
    +window_closed_cb(G_GNUC_UNUSED GtkWidget *w,
    + G_GNUC_UNUSED GdkEvent *e,
    + G_GNUC_UNUSED gpointer d)
    {
    gtk_main_quit();
    @@ -63,10 +63,10 @@
    * Helpers
    *****************************************************************************/
    static gboolean
    -internal_cb(GPLUGIN_UNUSED const gchar *n,
    - GPLUGIN_UNUSED const gchar *v,
    - GPLUGIN_UNUSED gpointer d,
    - GPLUGIN_UNUSED GError **e)
    +internal_cb(G_GNUC_UNUSED const gchar *n,
    + G_GNUC_UNUSED const gchar *v,
    + G_GNUC_UNUSED gpointer d,
    + G_GNUC_UNUSED GError **e)
    {
    show_internal = TRUE;
    @@ -74,10 +74,10 @@
    }
    static gboolean
    -no_default_cb(GPLUGIN_UNUSED const gchar *n,
    - GPLUGIN_UNUSED const gchar *v,
    - GPLUGIN_UNUSED gpointer d,
    - GPLUGIN_UNUSED GError **e)
    +no_default_cb(G_GNUC_UNUSED const gchar *n,
    + G_GNUC_UNUSED const gchar *v,
    + G_GNUC_UNUSED gpointer d,
    + G_GNUC_UNUSED GError **e)
    {
    add_default_paths = FALSE;
    @@ -85,10 +85,10 @@
    }
    static gboolean
    -version_cb(GPLUGIN_UNUSED const gchar *n,
    - GPLUGIN_UNUSED const gchar *v,
    - GPLUGIN_UNUSED gpointer d,
    - GPLUGIN_UNUSED GError **e)
    +version_cb(G_GNUC_UNUSED const gchar *n,
    + G_GNUC_UNUSED const gchar *v,
    + G_GNUC_UNUSED gpointer d,
    + G_GNUC_UNUSED GError **e)
    {
    version_only = TRUE;
    --- a/gplugin-gtk/gplugin-gtk-plugin-info.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin-gtk/gplugin-gtk-plugin-info.c Fri Jan 25 01:11:35 2019 -0500
    @@ -66,7 +66,7 @@
    *****************************************************************************/
    static void
    gplugin_gtk_plugin_info_expander_activate(GtkExpander *expander,
    - GPLUGIN_UNUSED gpointer data)
    + G_GNUC_UNUSED gpointer data)
    {
    if(gtk_expander_get_expanded(expander))
    gtk_expander_set_label(expander, "More");
    --- a/gplugin/gplugin-file-tree.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/gplugin-file-tree.c Fri Jan 25 01:11:35 2019 -0500
    @@ -60,7 +60,7 @@
    * Helpers
    *****************************************************************************/
    static gboolean
    -gplugin_file_tree_free_leaves(GNode *n, GPLUGIN_UNUSED gpointer d) {
    +gplugin_file_tree_free_leaves(GNode *n, G_GNUC_UNUSED gpointer d) {
    GPluginFileTreeEntry *e = n->data;
    gplugin_file_tree_entry_free(e);
    @@ -69,7 +69,7 @@
    }
    static gboolean
    -gplugin_file_tree_free_non_leaves(GNode *n, GPLUGIN_UNUSED gpointer d) {
    +gplugin_file_tree_free_non_leaves(GNode *n, G_GNUC_UNUSED gpointer d) {
    g_free(n->data);
    return FALSE;
    --- a/gplugin/gplugin-loader.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/gplugin-loader.c Fri Jan 25 01:11:35 2019 -0500
    @@ -34,11 +34,11 @@
    G_DEFINE_ABSTRACT_TYPE(GPluginLoader, gplugin_loader, G_TYPE_OBJECT);
    static void
    -gplugin_loader_init(GPluginLoader *loader) {
    +gplugin_loader_init(G_GNUC_UNUSED GPluginLoader *loader) {
    }
    static void
    -gplugin_loader_class_init(GPluginLoaderClass *klass) {
    +gplugin_loader_class_init(G_GNUC_UNUSED GPluginLoaderClass *klass) {
    }
    /******************************************************************************
    --- a/gplugin/gplugin-manager.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/gplugin-manager.c Fri Jan 25 01:11:35 2019 -0500
    @@ -141,9 +141,9 @@
    }
    static gboolean
    -gplugin_manager_remove_list_value(GPLUGIN_UNUSED gpointer k,
    +gplugin_manager_remove_list_value(G_GNUC_UNUSED gpointer k,
    gpointer v,
    - GPLUGIN_UNUSED gpointer d)
    + G_GNUC_UNUSED gpointer d)
    {
    GSList *l = NULL;
    @@ -717,7 +717,7 @@
    }
    static GSList *
    -gplugin_manager_real_get_plugin_dependencies(GPluginManager *manager,
    +gplugin_manager_real_get_plugin_dependencies(G_GNUC_UNUSED GPluginManager *manager,
    GPluginPlugin *plugin,
    GError **error)
    {
    @@ -861,17 +861,17 @@
    }
    static gboolean
    -gplugin_manager_loading_cb(GPLUGIN_UNUSED GObject *manager,
    - GPLUGIN_UNUSED GPluginPlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_manager_loading_cb(G_GNUC_UNUSED GObject *manager,
    + G_GNUC_UNUSED GPluginPlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    static gboolean
    -gplugin_manager_unloading_cb(GPLUGIN_UNUSED GObject *manager,
    - GPLUGIN_UNUSED GPluginPlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_manager_unloading_cb(G_GNUC_UNUSED GObject *manager,
    + G_GNUC_UNUSED GPluginPlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/gplugin-native-loader.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/gplugin-native-loader.c Fri Jan 25 01:11:35 2019 -0500
    @@ -93,7 +93,7 @@
    * GPluginLoaderInterface API
    *****************************************************************************/
    static GSList *
    -gplugin_native_loader_class_supported_extensions(GPLUGIN_UNUSED const GPluginLoaderClass *klass) {
    +gplugin_native_loader_class_supported_extensions(G_GNUC_UNUSED const GPluginLoaderClass *klass) {
    return g_slist_append(NULL, G_MODULE_SUFFIX);
    }
    @@ -217,7 +217,7 @@
    }
    static gboolean
    -gplugin_native_loader_load(GPLUGIN_UNUSED GPluginLoader *loader,
    +gplugin_native_loader_load(G_GNUC_UNUSED GPluginLoader *loader,
    GPluginPlugin *plugin,
    GError **error)
    {
    @@ -238,7 +238,7 @@
    }
    static gboolean
    -gplugin_native_loader_unload(GPLUGIN_UNUSED GPluginLoader *loader,
    +gplugin_native_loader_unload(G_GNUC_UNUSED GPluginLoader *loader,
    GPluginPlugin *plugin,
    GError **error)
    {
    @@ -270,7 +270,7 @@
    }
    static void
    -gplugin_native_loader_init(GPluginNativeLoader *loader) {
    +gplugin_native_loader_init(G_GNUC_UNUSED GPluginNativeLoader *loader) {
    }
    static void
    --- a/gplugin/gplugin-native-plugin.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/gplugin-native-plugin.c Fri Jan 25 01:11:35 2019 -0500
    @@ -71,7 +71,7 @@
    * GPluginPlugin Implementation
    *****************************************************************************/
    static void
    -gplugin_native_plugin_iface_init(GPluginPluginInterface *iface) {
    +gplugin_native_plugin_iface_init(G_GNUC_UNUSED GPluginPluginInterface *iface) {
    /* we just override properites from GPluginPlugin */
    }
    @@ -79,12 +79,12 @@
    * GTypeModule Implementation
    *****************************************************************************/
    static gboolean
    -gplugin_native_plugin_load(GTypeModule *module) {
    +gplugin_native_plugin_load(G_GNUC_UNUSED GTypeModule *module) {
    return TRUE;
    }
    static void
    -gplugin_native_plugin_unload(GTypeModule *module) {
    +gplugin_native_plugin_unload(G_GNUC_UNUSED GTypeModule *module) {
    }
    /******************************************************************************
    @@ -185,7 +185,7 @@
    }
    static void
    -gplugin_native_plugin_init(GPluginNativePlugin *plugin) {
    +gplugin_native_plugin_init(G_GNUC_UNUSED GPluginNativePlugin *plugin) {
    }
    static void
    --- a/gplugin/gplugin-options.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/gplugin-options.c Fri Jan 25 01:11:35 2019 -0500
    @@ -41,10 +41,10 @@
    static gchar **paths = NULL;
    static gboolean
    -gplugin_options_no_default_paths_cb(GPLUGIN_UNUSED const gchar *n,
    - GPLUGIN_UNUSED const gchar *v,
    - GPLUGIN_UNUSED gpointer d,
    - GPLUGIN_UNUSED GError **e)
    +gplugin_options_no_default_paths_cb(G_GNUC_UNUSED const gchar *n,
    + G_GNUC_UNUSED const gchar *v,
    + G_GNUC_UNUSED gpointer d,
    + G_GNUC_UNUSED GError **e)
    {
    add_default_paths = FALSE;
    @@ -67,10 +67,10 @@
    };
    static gboolean
    -gplugin_options_post_parse_cb(GPLUGIN_UNUSED GOptionContext *ctx,
    - GPLUGIN_UNUSED GOptionGroup *group,
    - GPLUGIN_UNUSED gpointer data,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_options_post_parse_cb(G_GNUC_UNUSED GOptionContext *ctx,
    + G_GNUC_UNUSED GOptionGroup *group,
    + G_GNUC_UNUSED gpointer data,
    + G_GNUC_UNUSED GError **error)
    {
    gint i = 0;
    --- a/gplugin/gplugin-plugin-info.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/gplugin-plugin-info.c Fri Jan 25 01:11:35 2019 -0500
    @@ -453,7 +453,7 @@
    }
    static void
    -gplugin_plugin_info_init(GPluginPluginInfo *info) {
    +gplugin_plugin_info_init(G_GNUC_UNUSED GPluginPluginInfo *info) {
    }
    static void
    --- a/gplugin/gplugin-private.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/gplugin-private.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,10 +19,10 @@
    /* A GSignalAccumulator that stops emission if a handler returns FALSE */
    gboolean
    -gplugin_boolean_accumulator(GPLUGIN_UNUSED GSignalInvocationHint *hint,
    +gplugin_boolean_accumulator(G_GNUC_UNUSED GSignalInvocationHint *hint,
    GValue *return_accu,
    const GValue *handler_return,
    - GPLUGIN_UNUSED gpointer data)
    + G_GNUC_UNUSED gpointer data)
    {
    gboolean continue_emission;
    gboolean handler_returned;
    --- a/gplugin/gplugin-query.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/gplugin-query.c Fri Jan 25 01:11:35 2019 -0500
    @@ -36,10 +36,10 @@
    * Helpers
    *****************************************************************************/
    static gboolean
    -verbosity_cb(GPLUGIN_UNUSED const gchar *n,
    - GPLUGIN_UNUSED const gchar *v,
    - GPLUGIN_UNUSED gpointer d,
    - GPLUGIN_UNUSED GError **e)
    +verbosity_cb(G_GNUC_UNUSED const gchar *n,
    + G_GNUC_UNUSED const gchar *v,
    + G_GNUC_UNUSED gpointer d,
    + G_GNUC_UNUSED GError **e)
    {
    verbosity++;
    @@ -47,10 +47,10 @@
    }
    static gboolean
    -full_verbosity_cb(GPLUGIN_UNUSED const gchar *n,
    - GPLUGIN_UNUSED const gchar *v,
    - GPLUGIN_UNUSED gpointer d,
    - GPLUGIN_UNUSED GError **e)
    +full_verbosity_cb(G_GNUC_UNUSED const gchar *n,
    + G_GNUC_UNUSED const gchar *v,
    + G_GNUC_UNUSED gpointer d,
    + G_GNUC_UNUSED GError **e)
    {
    verbosity = 1 << 11;
    @@ -58,10 +58,10 @@
    }
    static gboolean
    -internal_cb(GPLUGIN_UNUSED const gchar *n,
    - GPLUGIN_UNUSED const gchar *v,
    - GPLUGIN_UNUSED gpointer d,
    - GPLUGIN_UNUSED GError **e)
    +internal_cb(G_GNUC_UNUSED const gchar *n,
    + G_GNUC_UNUSED const gchar *v,
    + G_GNUC_UNUSED gpointer d,
    + G_GNUC_UNUSED GError **e)
    {
    show_internal = TRUE;
    @@ -69,10 +69,10 @@
    }
    static gboolean
    -version_cb(GPLUGIN_UNUSED const gchar *n,
    - GPLUGIN_UNUSED const gchar *v,
    - GPLUGIN_UNUSED gpointer d,
    - GPLUGIN_UNUSED GError **e)
    +version_cb(G_GNUC_UNUSED const gchar *n,
    + G_GNUC_UNUSED const gchar *v,
    + G_GNUC_UNUSED gpointer d,
    + G_GNUC_UNUSED GError **e)
    {
    printf("gplugin-query %s\n", GPLUGIN_VERSION);
    @@ -82,10 +82,10 @@
    }
    static gboolean
    -list_cb(GPLUGIN_UNUSED const gchar *n,
    - GPLUGIN_UNUSED const gchar *v,
    - GPLUGIN_UNUSED gpointer d,
    - GPLUGIN_UNUSED GError **e)
    +list_cb(G_GNUC_UNUSED const gchar *n,
    + G_GNUC_UNUSED const gchar *v,
    + G_GNUC_UNUSED gpointer d,
    + G_GNUC_UNUSED GError **e)
    {
    output_paths = TRUE;
    --- a/gplugin/tests/bad-plugins/query-error.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/bad-plugins/query-error.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,22 +19,22 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    g_set_error(error, GPLUGIN_DOMAIN, 0, "expected error");
    return NULL;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/bind-local/bind-local.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/bind-local/bind-local.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/bind-local",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/dynamic-type/dynamic-type-provider.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/dynamic-type/dynamic-type-provider.c Fri Jan 25 01:11:35 2019 -0500
    @@ -23,21 +23,21 @@
    G_DEFINE_DYNAMIC_TYPE(DynamicTest, dynamic_test, G_TYPE_OBJECT);
    static void
    -dynamic_test_init(DynamicTest *inst) {
    +dynamic_test_init(G_GNUC_UNUSED DynamicTest *inst) {
    g_message("instance created");
    }
    static void
    -dynamic_test_class_finalize(DynamicTestClass *klass) {
    +dynamic_test_class_finalize(G_GNUC_UNUSED DynamicTestClass *klass) {
    }
    static void
    -dynamic_test_class_init(DynamicTestClass *klass) {
    +dynamic_test_class_init(G_GNUC_UNUSED DynamicTestClass *klass) {
    g_message("class created");
    }
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/dynamic-type-provider",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -46,15 +46,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPluginNativePlugin *plugin, GError **error) {
    +gplugin_load(GPluginNativePlugin *plugin, G_GNUC_UNUSED GError **error) {
    dynamic_test_register_type(G_TYPE_MODULE(plugin));
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/dynamic-type/dynamic-type-user.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/dynamic-type/dynamic-type-user.c Fri Jan 25 01:11:35 2019 -0500
    @@ -23,7 +23,7 @@
    static DynamicTest *test_object = NULL;
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const dependencies[] = {
    "gplugin/dynamic-type-provider",
    NULL
    @@ -38,7 +38,7 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin, GError **error) {
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin, GError **error) {
    test_object = g_object_new(DYNAMIC_TYPE_TEST, NULL);
    if (test_object == NULL) {
    @@ -51,7 +51,7 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin, GError **error) {
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin, GError **error) {
    g_object_unref(test_object);
    if (DYNAMIC_IS_TEST(test_object)) {
    --- a/gplugin/tests/id-collision/id-collision1.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/id-collision/id-collision1.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/id-collision",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/id-collision/id-collision2.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/id-collision/id-collision2.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/id-collision",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/load-on-query-fail/load-on-query-fail.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/load-on-query-fail/load-on-query-fail.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/load-on-query-fail",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -29,7 +29,7 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin, GError **error) {
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin, GError **error) {
    static int count = 1;
    g_set_error(error, GPLUGIN_DOMAIN, 0, "called %d times", count++);
    @@ -38,8 +38,8 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/load-on-query-pass/load-on-query-pass.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/load-on-query-pass/load-on-query-pass.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/load-on-query",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/plugins/basic-plugin.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/plugins/basic-plugin.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const authors[] = {
    "author1",
    NULL
    @@ -41,15 +41,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/plugins/broken-dependent-plugin.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/plugins/broken-dependent-plugin.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const dependencies[] = {
    "gplugin/does-not-exist",
    NULL
    @@ -34,15 +34,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/plugins/dependent-plugin.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/plugins/dependent-plugin.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const dependencies[] = {
    "dependency1",
    "dependency2",
    @@ -35,15 +35,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/plugins/load-exception.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/plugins/load-exception.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/native-load-exception",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -28,15 +28,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return FALSE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/plugins/load-failed.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/plugins/load-failed.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/native-load-failed",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -28,15 +28,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin, GError **error) {
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin, GError **error) {
    g_set_error(error, GPLUGIN_DOMAIN, 0, "expected error");
    return FALSE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/plugins/unload-failed.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/plugins/unload-failed.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/native-unload-failed",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -28,14 +28,14 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin, GError **error) {
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin, GError **error) {
    g_set_error(error, GPLUGIN_DOMAIN, 0, "expected error");
    return FALSE;
    --- a/gplugin/tests/test-plugin-info.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/test-plugin-info.c Fri Jan 25 01:11:35 2019 -0500
    @@ -346,8 +346,8 @@
    }
    static gint
    -test_gplugin_version_compare(GPLUGIN_UNUSED const gchar *v1,
    - GPLUGIN_UNUSED const gchar *v2) {
    +test_gplugin_version_compare(G_GNUC_UNUSED const gchar *v1,
    + G_GNUC_UNUSED const gchar *v2) {
    return 0;
    }
    --- a/gplugin/tests/test-signals.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/test-signals.c Fri Jan 25 01:11:35 2019 -0500
    @@ -31,9 +31,9 @@
    * Callbacks
    *****************************************************************************/
    static gboolean
    -test_gplugin_manager_signals_normal_loading(GPLUGIN_UNUSED GObject *manager,
    - GPLUGIN_UNUSED GPluginPlugin *plugin,
    - GPLUGIN_UNUSED GError **error,
    +test_gplugin_manager_signals_normal_loading(G_GNUC_UNUSED GObject *manager,
    + G_GNUC_UNUSED GPluginPlugin *plugin,
    + G_GNUC_UNUSED GError **error,
    gpointer d)
    {
    TestGPluginManagerSignalsData *data = (TestGPluginManagerSignalsData *)d;
    @@ -44,8 +44,8 @@
    }
    static void
    -test_gplugin_manager_signals_normal_loaded(GPLUGIN_UNUSED GObject *manager,
    - GPLUGIN_UNUSED GPluginPlugin *plugin,
    +test_gplugin_manager_signals_normal_loaded(G_GNUC_UNUSED GObject *manager,
    + G_GNUC_UNUSED GPluginPlugin *plugin,
    gpointer d)
    {
    TestGPluginManagerSignalsData *data = (TestGPluginManagerSignalsData *)d;
    @@ -54,9 +54,9 @@
    }
    static gboolean
    -test_gplugin_manager_signals_normal_unloading(GPLUGIN_UNUSED GObject *manager,
    - GPLUGIN_UNUSED GPluginPlugin *plugin,
    - GPLUGIN_UNUSED GError **error,
    +test_gplugin_manager_signals_normal_unloading(G_GNUC_UNUSED GObject *manager,
    + G_GNUC_UNUSED GPluginPlugin *plugin,
    + G_GNUC_UNUSED GError **error,
    gpointer d)
    {
    TestGPluginManagerSignalsData *data = (TestGPluginManagerSignalsData *)d;
    @@ -67,8 +67,8 @@
    }
    static void
    -test_gplugin_manager_signals_normal_unloaded(GPLUGIN_UNUSED GObject *manager,
    - GPLUGIN_UNUSED GPluginPlugin *plugin,
    +test_gplugin_manager_signals_normal_unloaded(G_GNUC_UNUSED GObject *manager,
    + G_GNUC_UNUSED GPluginPlugin *plugin,
    gpointer d)
    {
    TestGPluginManagerSignalsData *data = (TestGPluginManagerSignalsData *)d;
    @@ -77,8 +77,8 @@
    }
    static gboolean
    -test_gplugin_manager_signals_stop_loading(GPLUGIN_UNUSED GObject *manager,
    - GPLUGIN_UNUSED GPluginPlugin *plugin,
    +test_gplugin_manager_signals_stop_loading(G_GNUC_UNUSED GObject *manager,
    + G_GNUC_UNUSED GPluginPlugin *plugin,
    GError **error,
    gpointer d)
    {
    @@ -92,8 +92,8 @@
    }
    static gboolean
    -test_gplugin_manager_signals_stop_unloading(GPLUGIN_UNUSED GObject *manager,
    - GPLUGIN_UNUSED GPluginPlugin *plugin,
    +test_gplugin_manager_signals_stop_unloading(G_GNUC_UNUSED GObject *manager,
    + G_GNUC_UNUSED GPluginPlugin *plugin,
    GError **error,
    gpointer d)
    {
    @@ -107,8 +107,8 @@
    }
    static void
    -test_gplugin_manager_signals_load_failed(GPLUGIN_UNUSED GObject *manager,
    - GPLUGIN_UNUSED GPluginPlugin *plugin,
    +test_gplugin_manager_signals_load_failed(G_GNUC_UNUSED GObject *manager,
    + G_GNUC_UNUSED GPluginPlugin *plugin,
    gpointer d)
    {
    TestGPluginManagerSignalsData *data = (TestGPluginManagerSignalsData *)d;
    --- a/gplugin/tests/test-versioned-dependencies.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/test-versioned-dependencies.c Fri Jan 25 01:11:35 2019 -0500
    @@ -27,7 +27,7 @@
    *****************************************************************************/
    static void
    _test_plugin_load_and_has_dependent(GPluginPlugin *dependent,
    - const gchar *id)
    + G_GNUC_UNUSED const gchar *id)
    {
    GPluginPlugin *plugin = NULL;
    GSList *deps = NULL, *l = NULL;
    --- a/gplugin/tests/unresolved-symbol/unresolved-symbol.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/unresolved-symbol/unresolved-symbol.c Fri Jan 25 01:11:35 2019 -0500
    @@ -21,22 +21,22 @@
    void some_unresolved_symbol(void);
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    some_unresolved_symbol();
    return NULL;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/bar.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/bar.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/bar",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/baz.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/baz.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/baz",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/exact1.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/exact1.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/test-exact1",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/exact2.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/exact2.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/test-exact2",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/fez.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/fez.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/fez",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/greater-equal.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/greater-equal.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/test-greater-equal",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/greater.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/greater.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/test-greater",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/less-equal.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/less-equal.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/test-less-equal",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/less.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/less.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/test-less",
    0x04030201,
    @@ -29,15 +29,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/no-version.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/no-version.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/test-no-version",
    0x04030201,
    @@ -28,15 +28,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/gplugin/tests/versioned-dependencies/super-dependent.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/gplugin/tests/versioned-dependencies/super-dependent.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const dependencies[] = {
    "gplugin/test-no-version",
    "gplugin/test-exact1==1.0",
    @@ -44,15 +44,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/lua/gplugin-lua-core.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/lua/gplugin-lua-core.c Fri Jan 25 01:11:35 2019 -0500
    @@ -23,7 +23,7 @@
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const authors[] = {
    "Gary Kramlich <grim@reaperworld.com>",
    NULL
    @@ -49,7 +49,7 @@
    G_MODULE_EXPORT gboolean
    gplugin_load(GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    + G_GNUC_UNUSED GError **error)
    {
    gplugin_lua_loader_register(plugin);
    gplugin_lua_plugin_register(plugin);
    @@ -60,8 +60,8 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return FALSE;
    }
    --- a/lua/gplugin-lua-loader.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/lua/gplugin-lua-loader.c Fri Jan 25 01:11:35 2019 -0500
    @@ -43,7 +43,7 @@
    }
    static gboolean
    -_gplugin_lua_loader_load_unload_plugin(GPLUGIN_UNUSED GPluginLoader *loader,
    +_gplugin_lua_loader_load_unload_plugin(G_GNUC_UNUSED GPluginLoader *loader,
    GPluginPlugin *plugin,
    const gchar *function,
    GError **error)
    @@ -77,7 +77,7 @@
    * GPluginLoaderInterface API
    *****************************************************************************/
    static GSList *
    -gplugin_lua_loader_class_supported_extensions(GPLUGIN_UNUSED const GPluginLoaderClass *klass) {
    +gplugin_lua_loader_class_supported_extensions(G_GNUC_UNUSED const GPluginLoaderClass *klass) {
    GSList *exts = NULL;
    exts = g_slist_append(exts, "lua");
    @@ -192,11 +192,11 @@
    * GObject Stuff
    *****************************************************************************/
    static void
    -gplugin_lua_loader_init(GPluginLuaLoader *loader) {
    +gplugin_lua_loader_init(G_GNUC_UNUSED GPluginLuaLoader *loader) {
    }
    static void
    -gplugin_lua_loader_class_finalize(GPluginLuaLoaderClass *klass) {
    +gplugin_lua_loader_class_finalize(G_GNUC_UNUSED GPluginLuaLoaderClass *klass) {
    }
    static void
    --- a/lua/gplugin-lua-plugin.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/lua/gplugin-lua-plugin.c Fri Jan 25 01:11:35 2019 -0500
    @@ -62,7 +62,7 @@
    * GPluginPlugin Implementation
    *****************************************************************************/
    static void
    -gplugin_lua_plugin_iface_init(GPluginPluginInterface *iface) {
    +gplugin_lua_plugin_iface_init(G_GNUC_UNUSED GPluginPluginInterface *iface) {
    }
    /******************************************************************************
    @@ -145,11 +145,11 @@
    }
    static void
    -gplugin_lua_plugin_init(GPluginLuaPlugin *plugin) {
    +gplugin_lua_plugin_init(G_GNUC_UNUSED GPluginLuaPlugin *plugin) {
    }
    static void
    -gplugin_lua_plugin_class_finalize(GPluginLuaPluginClass *klass) {
    +gplugin_lua_plugin_class_finalize(G_GNUC_UNUSED GPluginLuaPluginClass *klass) {
    }
    static void
    --- a/meson.build Fri Jan 25 00:50:20 2019 -0500
    +++ b/meson.build Fri Jan 25 01:11:35 2019 -0500
    @@ -77,20 +77,6 @@
    output : 'gplugin-version.sh',
    configuration : version_conf)
    -# check if we're using gcc
    -if compiler.get_id() == 'gcc' or host_machine.platform() == 'darwin'
    - add_project_arguments(
    - '-DGPLUGIN_UNUSED=__attribute__((unused))',
    - '-ggdb',
    - language : 'c'
    - )
    -else
    - add_project_arguments(
    - '-DGPLUGIN_UNUSED=',
    - language : 'c'
    - )
    -endif
    -
    toplevel_inc = include_directories('.')
    --- a/plugins/gplugin-license-check.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/plugins/gplugin-license-check.c Fri Jan 25 01:11:35 2019 -0500
    @@ -19,7 +19,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const authors[] = {
    "Gary Kramlich <grim@reaperworld.com>",
    NULL
    @@ -38,15 +38,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/python/gplugin-python-core.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/python/gplugin-python-core.c Fri Jan 25 01:11:35 2019 -0500
    @@ -22,7 +22,7 @@
    #include "gplugin-python-plugin.h"
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const authors[] = {
    "Gary Kramlich <grim@reaperworld.com>",
    NULL
    @@ -48,7 +48,7 @@
    G_MODULE_EXPORT gboolean
    gplugin_load(GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    + G_GNUC_UNUSED GError **error)
    {
    gplugin_python_plugin_register(plugin);
    gplugin_python_loader_register(plugin);
    @@ -59,8 +59,8 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return FALSE;
    }
    --- a/python/gplugin-python-loader.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/python/gplugin-python-loader.c Fri Jan 25 01:11:35 2019 -0500
    @@ -45,14 +45,14 @@
    * GPluginLoader Implementation
    *****************************************************************************/
    static GSList *
    -gplugin_python_loader_class_supported_extensions(GPLUGIN_UNUSED const GPluginLoaderClass *klass) {
    +gplugin_python_loader_class_supported_extensions(G_GNUC_UNUSED const GPluginLoaderClass *klass) {
    return g_slist_append(NULL, "py");
    }
    static GPluginPlugin *
    -gplugin_python_loader_query(GPLUGIN_UNUSED GPluginLoader *loader,
    +gplugin_python_loader_query(G_GNUC_UNUSED GPluginLoader *loader,
    const gchar *filename,
    - GPLUGIN_UNUSED GError **error)
    + G_GNUC_UNUSED GError **error)
    {
    GPluginPlugin *plugin = NULL;
    GObject *info = NULL;
    @@ -179,7 +179,7 @@
    }
    static gboolean
    -gplugin_python_loader_load(GPLUGIN_UNUSED GPluginLoader *loader,
    +gplugin_python_loader_load(G_GNUC_UNUSED GPluginLoader *loader,
    GPluginPlugin *plugin,
    GError **error)
    {
    @@ -211,7 +211,7 @@
    }
    static gboolean
    -gplugin_python_loader_unload(GPLUGIN_UNUSED GPluginLoader *loader,
    +gplugin_python_loader_unload(G_GNUC_UNUSED GPluginLoader *loader,
    GPluginPlugin *plugin,
    GError **error)
    {
    @@ -349,11 +349,12 @@
    * Object Stuff
    *****************************************************************************/
    static void
    -gplugin_python_loader_init(GPluginPythonLoader *loader) {
    +gplugin_python_loader_init(G_GNUC_UNUSED GPluginPythonLoader *loader) {
    }
    static void
    -gplugin_python_loader_class_finalize(GPluginPythonLoaderClass *klass) {
    +gplugin_python_loader_class_finalize(G_GNUC_UNUSED GPluginPythonLoaderClass *klass)
    +{
    }
    static void
    --- a/python/gplugin-python-plugin.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/python/gplugin-python-plugin.c Fri Jan 25 01:11:35 2019 -0500
    @@ -70,7 +70,7 @@
    * GPluginPlugin Implementation
    *****************************************************************************/
    static void
    -gplugin_python_plugin_iface_init(GPluginPluginInterface *iface) {
    +gplugin_python_plugin_iface_init(G_GNUC_UNUSED GPluginPluginInterface *iface) {
    }
    /******************************************************************************
    @@ -258,11 +258,12 @@
    }
    static void
    -gplugin_python_plugin_init(GPluginPythonPlugin *plugin) {
    +gplugin_python_plugin_init(G_GNUC_UNUSED GPluginPythonPlugin *plugin) {
    }
    static void
    -gplugin_python_plugin_class_finalize(GPluginPythonPluginClass *klass) {
    +gplugin_python_plugin_class_finalize(G_GNUC_UNUSED GPluginPythonPluginClass *klass)
    +{
    }
    static void
    --- a/tcc/gplugin-tcc-core.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/tcc/gplugin-tcc-core.c Fri Jan 25 01:11:35 2019 -0500
    @@ -23,7 +23,7 @@
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const authors[] = {
    "Eion Robb <eion@robbmob.com>",
    NULL
    @@ -48,7 +48,7 @@
    G_MODULE_EXPORT gboolean
    gplugin_load(GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    + G_GNUC_UNUSED GError **error)
    {
    gplugin_tcc_loader_register(plugin);
    gplugin_tcc_plugin_register(plugin);
    @@ -59,8 +59,8 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return FALSE;
    }
    --- a/tcc/gplugin-tcc-loader.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/tcc/gplugin-tcc-loader.c Fri Jan 25 01:11:35 2019 -0500
    @@ -33,7 +33,7 @@
    * GPluginLoaderInterface API
    *****************************************************************************/
    static GSList *
    -gplugin_tcc_loader_class_supported_extensions(GPLUGIN_UNUSED const GPluginLoaderClass *klass) {
    +gplugin_tcc_loader_class_supported_extensions(G_GNUC_UNUSED const GPluginLoaderClass *klass) {
    GSList *exts = NULL;
    exts = g_slist_append(exts, "c");
    @@ -110,7 +110,7 @@
    }
    static gboolean
    -gplugin_tcc_loader_load(GPLUGIN_UNUSED GPluginLoader *loader,
    +gplugin_tcc_loader_load(G_GNUC_UNUSED GPluginLoader *loader,
    GPluginPlugin *plugin,
    GError **error)
    {
    @@ -128,7 +128,7 @@
    }
    static gboolean
    -gplugin_tcc_loader_unload(GPLUGIN_UNUSED GPluginLoader *loader,
    +gplugin_tcc_loader_unload(G_GNUC_UNUSED GPluginLoader *loader,
    GPluginPlugin *plugin,
    GError **error)
    {
    --- a/tcc/tests/plugins/basic-plugin.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/tcc/tests/plugins/basic-plugin.c Fri Jan 25 01:11:35 2019 -0500
    @@ -18,7 +18,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const authors[] = {
    "author1",
    NULL
    @@ -40,15 +40,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/tcc/tests/plugins/dependent.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/tcc/tests/plugins/dependent.c Fri Jan 25 01:11:35 2019 -0500
    @@ -18,7 +18,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    const gchar * const dependencies[] = {
    "dependency1",
    "dependency2",
    @@ -34,15 +34,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/tcc/tests/plugins/load-exception.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/tcc/tests/plugins/load-exception.c Fri Jan 25 01:11:35 2019 -0500
    @@ -18,7 +18,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/native-load-exception",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -27,15 +27,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return FALSE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/tcc/tests/plugins/load-failed.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/tcc/tests/plugins/load-failed.c Fri Jan 25 01:11:35 2019 -0500
    @@ -18,7 +18,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/native-load-failed",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -27,15 +27,15 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin, GError **error) {
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin, GError **error) {
    g_set_error(error, GPLUGIN_DOMAIN, 0, "expected error");
    return FALSE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    --- a/tcc/tests/plugins/unload-failed.c Fri Jan 25 00:50:20 2019 -0500
    +++ b/tcc/tests/plugins/unload-failed.c Fri Jan 25 01:11:35 2019 -0500
    @@ -18,7 +18,7 @@
    #include <gplugin-native.h>
    G_MODULE_EXPORT GPluginPluginInfo *
    -gplugin_query(GPLUGIN_UNUSED GError **error) {
    +gplugin_query(G_GNUC_UNUSED GError **error) {
    return gplugin_plugin_info_new(
    "gplugin/native-unload-failed",
    GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
    @@ -27,14 +27,14 @@
    }
    G_MODULE_EXPORT gboolean
    -gplugin_load(GPLUGIN_UNUSED GPluginNativePlugin *plugin,
    - GPLUGIN_UNUSED GError **error)
    +gplugin_load(G_GNUC_UNUSED GPluginNativePlugin *plugin,
    + G_GNUC_UNUSED GError **error)
    {
    return TRUE;
    }
    G_MODULE_EXPORT gboolean
    -gplugin_unload(GPLUGIN_UNUSED GPluginNativePlugin *plugin, GError **error) {
    +gplugin_unload(G_GNUC_UNUSED GPluginNativePlugin *plugin, GError **error) {
    g_set_error(error, GPLUGIN_DOMAIN, 0, "expected error");
    return FALSE;