stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=40f162fbc500d7e2c51d93eff46e87c6117b7d91

commit 40f162fbc500d7e2c51d93eff46e87c6117b7d91
Author: Jean Guyomarc'h <jean.guyoma...@gmail.com>
Date:   Thu Jan 28 22:29:32 2016 +0100

    eina: fix invalid prototype
    
    The prototype means "unspecified arguments". However, the implementation
    specifies no parameters (void).
    GCC's warning -Wstrict-prototypes complains a lots about this old-style
    prototype, spamming the console when compiling more than one compiling
    units including Eina.
    
    @fix
---
 src/lib/eina/eina_value.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_value.h b/src/lib/eina/eina_value.h
index dc89b34..77dcff3 100644
--- a/src/lib/eina/eina_value.h
+++ b/src/lib/eina/eina_value.h
@@ -3508,7 +3508,7 @@ typedef Eina_Value_Union Eina_Value_Optional;
  * @return returns an empty optional eina value.
  * @since 1.17
  */
-static inline Eina_Value *eina_value_optional_empty_new();
+static inline Eina_Value *eina_value_optional_empty_new(void);
 
 /**
  * @brief Create an optional eina value with the passed value

-- 


Reply via email to