summaryrefslogtreecommitdiffhomepage
path: root/src/helper
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-03 07:53:34 +0000
committermidipix <writeonce@midipix.org>2018-08-03 21:13:30 -0400
commit18a091990a2de49fb0c9d85b0ae8e86825f2104f (patch)
treebd01adba7687618857a1866790c3ed4f9346f319 /src/helper
parent3d38ce6b746e9d6f4e0b7dc251d88dba78fb0a47 (diff)
downloadmdso-18a091990a2de49fb0c9d85b0ae8e86825f2104f.tar.bz2
mdso-18a091990a2de49fb0c9d85b0ae8e86825f2104f.tar.xz
library interfaces: asm source generation: re-implement w. pure fdio and fdctx.
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/mdso_create_output.c6
1 files changed, 3 insertions, 3 deletions
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(