forked from enlightenment/efl
elementary: Fix a warning
Signed-off-by: Mike McCormack <mikem@ring3k.org> SVN revision: 66307
This commit is contained in:
parent
fa37e206ae
commit
2e37317cbc
|
@ -4,14 +4,14 @@
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
#include "elm_priv.h"
|
#include "elm_priv.h"
|
||||||
|
|
||||||
static char *
|
char *
|
||||||
_str_ncpy(char *dest, const char *src, size_t count)
|
_str_ncpy(char *dest, const char *src, size_t count)
|
||||||
{
|
{
|
||||||
if ((!dest) || (!src)) return NULL;
|
if ((!dest) || (!src)) return NULL;
|
||||||
return strncpy(dest, src, count);
|
return strncpy(dest, src, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
char *
|
||||||
_str_append(char *str, const char *txt, int *len, int *alloc)
|
_str_append(char *str, const char *txt, int *len, int *alloc)
|
||||||
{
|
{
|
||||||
int txt_len = strlen(txt);
|
int txt_len = strlen(txt);
|
||||||
|
|
Loading…
Reference in New Issue