[libgda] GdaMetaStoreChange: Correct the struct declaration.



commit 7313a42eb90f8c601139b5b547aa6db493bb82e2
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Apr 16 20:31:52 2017 +0200

    GdaMetaStoreChange: Correct the struct declaration.
    
    To avoid this:
    gda-meta-store.c:80:1: error: useless storage class specifier in empty declaration [-Werror]

 libgda/gda-meta-store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index 969d371..a914c3f 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -72,7 +72,7 @@
 #define l_g_value_unset(val) G_STMT_START{ if (G_IS_VALUE (val)) g_value_unset (val); }G_STMT_END
 
 /* change general information */
-typedef struct _GdaMetaStoreChange {
+struct _GdaMetaStoreChange {
        GdaMetaStoreChangeType  c_type;
        gchar                  *table_name;
        GHashTable             *keys; /* key = ('+' or '-') and a column position in @table (string) starting 
at 0, 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]