stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=73349edc19305e2c852ecbdd48dd8b8880fcd4ca

commit 73349edc19305e2c852ecbdd48dd8b8880fcd4ca
Author: Stefan Schmidt <[email protected]>
Date:   Mon Feb 13 14:30:27 2017 +0100

    eina: make the ein_file_unlink symbol availbale form the ein_file header
    
    It was only defined in the c file. Without any documentation, since tag, 
etc.
    
    tests/eina/eina_test_file.c:855:4: warning: implicit declaration of 
function ‘eina_file_unlink’
    [-Wimplicit-function-declaration]
---
 src/lib/eina/eina_file.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/lib/eina/eina_file.h b/src/lib/eina/eina_file.h
index 7581676..7a1c559 100644
--- a/src/lib/eina/eina_file.h
+++ b/src/lib/eina/eina_file.h
@@ -757,6 +757,20 @@ static inline size_t eina_file_path_join(char *dst,
                                          const char *a,
                                          const char *b);
 
+
+/**
+ * @brief Unlink file
+ *
+ * @param pathname File name to unlink.
+ * @return #EINA_TRUE if the unlink was successfull, #EINA_FALSE otherwise..
+ *
+ * This function is a wrapper around the unlink() system call. It removes a 
link to
+ * a file.
+ *
+ * @since 1.19
+ */
+EAPI Eina_Bool eina_file_unlink(const char *pathname);
+
 #include "eina_inline_file.x"
 
 /**

-- 


Reply via email to