From a7f0809fd091f2ab86d848cb3e761fa4a6bb1063 Mon Sep 17 00:00:00 2001 From: mike_m Date: Sat, 17 Dec 2011 20:45:00 +0000 Subject: [PATCH] elementary: Fix a warning Signed-off-by: Mike McCormack git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66307 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_util.c b/src/lib/elm_util.c index 3ed96f2..935acd3 100644 --- a/src/lib/elm_util.c +++ b/src/lib/elm_util.c @@ -4,14 +4,14 @@ #include #include "elm_priv.h" -static char * +char * _str_ncpy(char *dest, const char *src, size_t count) { if ((!dest) || (!src)) return NULL; return strncpy(dest, src, count); } -static char * +char * _str_append(char *str, const char *txt, int *len, int *alloc) { int txt_len = strlen(txt); -- 2.7.4