[grilo-plugins] lua-factory: Make _load_goa_data() a private function



commit fd6719297a50d9a44e79fe855ccd44b4f1a10544
Author: Bastien Nocera <hadess hadess net>
Date:   Thu May 19 00:49:06 2016 +0200

    lua-factory: Make _load_goa_data() a private function
    
    It's only used inside the grl-lua-library.c source.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766636

 src/lua-factory/grl-lua-common.h  |    1 -
 src/lua-factory/grl-lua-library.c |    4 +++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/lua-factory/grl-lua-common.h b/src/lua-factory/grl-lua-common.h
index a79531c..b27d480 100644
--- a/src/lua-factory/grl-lua-common.h
+++ b/src/lua-factory/grl-lua-common.h
@@ -90,7 +90,6 @@ typedef struct _OperationSpec {
 } OperationSpec;
 
 void grl_lua_library_save_goa_data (lua_State *L, gpointer goa_object);
-gpointer grl_lua_library_load_goa_data (lua_State *L);
 
 /* grl-lua-library-operations */
 void grl_lua_operations_init_priv_state (lua_State *L);
diff --git a/src/lua-factory/grl-lua-library.c b/src/lua-factory/grl-lua-library.c
index 51ec27f..6b3ef14 100644
--- a/src/lua-factory/grl-lua-library.c
+++ b/src/lua-factory/grl-lua-library.c
@@ -65,6 +65,8 @@ typedef struct {
   OperationSpec *os;
 } UnzipOperation;
 
+static gpointer grl_lua_library_load_goa_data (lua_State *L);
+
 /* ================== Lua-Library utils/helpers ============================ */
 
 static gchar *
@@ -1698,7 +1700,7 @@ grl_lua_library_save_goa_data (lua_State *L, gpointer goa_object)
  * @L: LuaState where the data is stored.
  * @return: The #GoaObject.
  **/
-gpointer
+static gpointer
 grl_lua_library_load_goa_data (lua_State *L)
 {
 #ifdef GOA_ENABLED


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