From 18a091990a2de49fb0c9d85b0ae8e86825f2104f Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 3 Aug 2018 07:53:34 +0000 Subject: library interfaces: asm source generation: re-implement w. pure fdio and fdctx. --- src/helper/mdso_create_output.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/helper') diff --git a/src/helper/mdso_create_output.c b/src/helper/mdso_create_output.c index f94524b..24ed757 100644 --- a/src/helper/mdso_create_output.c +++ b/src/helper/mdso_create_output.c @@ -58,13 +58,13 @@ FILE * mdso_create_archive( return mdso_create_output_stream(dctx,arname); } -FILE * mdso_create_asmsrc( +int mdso_create_asmsrc( const struct mdso_driver_ctx * dctx, const char * asmname) { return dctx->cctx->dstdir - ? mdso_create_output_stream(dctx,asmname) - : stdout; + ? mdso_create_output(dctx,asmname) + : mdso_driver_fdout(dctx); } FILE * mdso_create_object( -- cgit v1.2.3