summaryrefslogtreecommitdiff
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-05-03 13:09:07 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-05-03 13:13:57 +0100
commit7db4714db6ed4e540e1048692f29f3ea1f2b88ed (patch)
tree1b5099c40d8afa89cf6586d200599883535180e6 /src/bin/eolian
parent7047a056abb6e44811f12bab37546bdfb1ad98ab (diff)
replace strndup with eina_strndup, remove strndup definition in evil and elm_test_dnd
Test Plan: compilation Reviewers: cedric, zmike, raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8814
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/docs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian/docs.c b/src/bin/eolian/docs.c
index 9893005..7120612 100644
--- a/src/bin/eolian/docs.c
+++ b/src/bin/eolian/docs.c
@@ -95,7 +95,7 @@ _generate_ref(const Eolian_State *state, const char *refn, Eina_Strbuf *wbuf)
95 } 95 }
96 if (cl) 96 if (cl)
97 { 97 {
98 char *meth = strndup(mname + 1, sfx - mname - 1); 98 char *meth = eina_strndup(mname + 1, sfx - mname - 1);
99 fn = eolian_class_function_by_name_get(cl, meth, ftype); 99 fn = eolian_class_function_by_name_get(cl, meth, ftype);
100 if (ftype == EOLIAN_UNRESOLVED) 100 if (ftype == EOLIAN_UNRESOLVED)
101 ftype = eolian_function_type_get(fn); 101 ftype = eolian_function_type_get(fn);