[Imgtool] Removed dead strncatz() function

This commit is contained in:
Nathan Woods 2016-12-11 15:39:25 -05:00
parent acc42e344d
commit 02056c04b1
2 changed files with 0 additions and 13 deletions

View File

@ -67,18 +67,6 @@ char *strncpyz(char *dest, const char *source, size_t len)
return s;
}
char *strncatz(char *dest, const char *source, size_t len)
{
size_t l;
l = strlen(dest);
dest += l;
if (len > l)
len -= l;
else
len = 0;
return strncpyz(dest, source, len);
}
//-------------------------------------------------
// markerrorsource - marks where an error source
//-------------------------------------------------

View File

@ -265,7 +265,6 @@ int imgtool_validitychecks(void);
void unknown_partition_get_info(const imgtool_class *imgclass, uint32_t state, union imgtoolinfo *info);
char *strncpyz(char *dest, const char *source, size_t len);
char *strncatz(char *dest, const char *source, size_t len);
void rtrim(char *buf);
#endif /* IMGTOOL_H */