diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-28 15:32:09 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-28 15:32:09 +0000 |
commit | 686c21f900101fdd4c61316de9c25c2f17d1226c (patch) | |
tree | e24091ca7080879be1a11c0d20b6fb55a594da49 /bindings/php5/wrapper_source_top.c | |
parent | a9bda7e11d1b290b03934fb8db807aee4b09fe04 (diff) | |
download | lasso-686c21f900101fdd4c61316de9c25c2f17d1226c.tar.gz lasso-686c21f900101fdd4c61316de9c25c2f17d1226c.tar.xz lasso-686c21f900101fdd4c61316de9c25c2f17d1226c.zip |
Bindings php5: string hashtable methods are only used by ID-WSF bindings, mark them unused by default
* bindings/php5/wrapper_source_top.c:
only id-wsf has field of type GHashtTable<char*,char*> so when
compiling without --enable-wsf, it give 'unused symbols' errors.
Lets mark de the concerned functions as unused.
Diffstat (limited to 'bindings/php5/wrapper_source_top.c')
-rw-r--r-- | bindings/php5/wrapper_source_top.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/php5/wrapper_source_top.c b/bindings/php5/wrapper_source_top.c index 5567f499..74c67eb8 100644 --- a/bindings/php5/wrapper_source_top.c +++ b/bindings/php5/wrapper_source_top.c @@ -294,7 +294,7 @@ get_hashtable_from_array_of_objects(zval *array) return result; } -static GHashTable* +G_GNUC_UNUSED static GHashTable* get_hashtable_from_array_of_strings(zval *array) { HashTable *hashtable = NULL; @@ -344,7 +344,7 @@ set_array_from_hashtable_of_objects(GHashTable *hashtable, zval **array) g_list_free(keys); } -static void +G_GNUC_UNUSED static void set_array_from_hashtable_of_strings(GHashTable *hashtable, zval **array) { GList *keys = NULL; |