moved the xma mmgr to std.c with the new function hawk_init_xma_mmgr() and hawk_fini_xma_mmgr()
This commit is contained in:
11
bin/main.c
11
bin/main.c
@ -26,8 +26,19 @@
|
||||
|
||||
#include "main.h"
|
||||
#include <hawk.h>
|
||||
#include <hawk-xma.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void main_xma_dumper_without_hawk (void* ctx, const hawk_bch_t* fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start (ap, fmt);
|
||||
vfprintf (stderr, fmt, ap);
|
||||
va_end (ap);
|
||||
}
|
||||
|
||||
/* -------------------------------------------------------- */
|
||||
|
||||
static int main_version(int argc, hawk_bch_t* argv[], const hawk_bch_t* real_argv0)
|
||||
{
|
||||
printf ("%s %s\n", hawk_get_base_name_bcstr(real_argv0), HAWK_PACKAGE_VERSION);
|
||||
|
Reference in New Issue
Block a user