summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@gmail.com>2016-01-28 22:29:32 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-01-29 10:16:31 +0100
commit40f162fbc500d7e2c51d93eff46e87c6117b7d91 (patch)
treecb5c97612232e041d5b377107ce76f2ece3a6054
parentadff529004b2d8b4c2395c74af7f8f86a2a42ebc (diff)
downloadefl-40f162fbc500d7e2c51d93eff46e87c6117b7d91.tar.gz
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
-rw-r--r--src/lib/eina/eina_value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_value.h b/src/lib/eina/eina_value.h
index dc89b34c85..77dcff3349 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