changed the return type of xma dumper to void

This commit is contained in:
hyung-hwan 2020-11-25 14:42:56 +00:00
parent dacb0cf293
commit 3a5a268bd7
2 changed files with 2 additions and 3 deletions

View File

@ -1056,7 +1056,6 @@ static int xma_dumper_without_hawk (void* ctx, const hawk_bch_t* fmt, ...)
va_start (ap, fmt);
vfprintf (stderr, fmt, ap);
va_end (ap);
return 0;
}
#if defined(HAWK_BUILD_DEBUG)

View File

@ -123,8 +123,8 @@ struct hawk_xma_t
* The hawk_xma_dumper_t type defines a printf-like output function
* for hawk_xma_dump().
*/
typedef int (*hawk_xma_dumper_t) (
void* ctx,
typedef void (*hawk_xma_dumper_t) (
void* ctx,
const hawk_bch_t* fmt,
...
);