renamed a lot of cw_format_* to format_*

FossilOrigin-Name: 23ddf0840bc6910dc3ddf4f763ff9976441573173d8e669cc02cbc0520f12f00
This commit is contained in:
7u83@mail.ru
2016-03-12 08:28:35 +00:00
parent 10efce8ee2
commit 1dbb599802
13 changed files with 36 additions and 50 deletions

View File

@ -40,7 +40,7 @@
* where x is the number of characters. A formatted hex byte needs (typically 2).
*
*/
int cw_format_hex_bytes(char *dst, const char *format, const char *delim,
int format_hex_bytes(char *dst, const char *format, const char *delim,
const uint8_t * src, int len)
{
char *d = dst;
@ -68,7 +68,7 @@ int cw_format_hex_bytes(char *dst, const char *format, const char *delim,
* @return 0 if all was ok \n 1 if an error has occured.
*/
int cw_format_scan_hex_bytes(uint8_t *dst,const char *s, int len)
int format_scan_hex_bytes(uint8_t *dst,const char *s, int len)
{
int rc ;
int err=0;