From afc69ea6f4f66c8a97672b2335c47ad99ca780a1 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 5 Feb 2006 02:17:46 +0000 Subject: [PATCH] * objfmt.h (yasm_objfmt_output): Fix macro. * yasm.c (main): Fix call to yasm_objfmt_output. svn path=/trunk/yasm/; revision=1361 --- frontends/yasm/yasm.c | 2 +- libyasm/objfmt.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontends/yasm/yasm.c b/frontends/yasm/yasm.c index f943b2d6..2544c290 100644 --- a/frontends/yasm/yasm.c +++ b/frontends/yasm/yasm.c @@ -666,7 +666,7 @@ main(int argc, char *argv[]) } /* Write the object file */ - yasm_objfmt_output(cur_objfmt, obj?obj:stderr, obj_filename, + yasm_objfmt_output(cur_objfmt, obj?obj:stderr, strcmp(cur_dbgfmt_module->keyword, "null"), cur_dbgfmt); /* Close object file */ diff --git a/libyasm/objfmt.h b/libyasm/objfmt.h index b988197d..33ccb6a7 100644 --- a/libyasm/objfmt.h +++ b/libyasm/objfmt.h @@ -232,7 +232,7 @@ int yasm_objfmt_directive(yasm_objfmt *objfmt, const char *name, #define yasm_objfmt_create(module, object, a) module->create(object, a) -#define yasm_objfmt_output(objfmt, f, obj_fn, all_syms, df) \ +#define yasm_objfmt_output(objfmt, f, all_syms, df) \ ((yasm_objfmt_base *)objfmt)->module->output(objfmt, f, all_syms, df) #define yasm_objfmt_destroy(objfmt) \ ((yasm_objfmt_base *)objfmt)->module->destroy(objfmt) -- 2.40.0