summaryrefslogtreecommitdiffhomepage
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to 'src/output')
-rw-r--r--src/output/slbt_output_info.c (renamed from src/output/slbt_output_config.c)26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/output/slbt_output_config.c b/src/output/slbt_output_info.c
index 71389e2..7498cb8 100644
--- a/src/output/slbt_output_config.c
+++ b/src/output/slbt_output_info.c
@@ -21,7 +21,7 @@
#define SLBT_KEY_WIDTH 16
#endif
-static bool slbt_output_config_line(
+static bool slbt_output_info_line(
int fd,
const char * key,
const char * value,
@@ -35,7 +35,7 @@ static bool slbt_output_config_line(
? true : false;
}
-int slbt_output_config(const struct slbt_driver_ctx * dctx)
+int slbt_output_info(const struct slbt_driver_ctx * dctx)
{
const struct slbt_common_ctx * cctx;
const char * compiler;
@@ -77,37 +77,37 @@ int slbt_output_config(const struct slbt_driver_ctx * dctx)
midwidth += SLBT_TAB_WIDTH;
midwidth &= (~(SLBT_TAB_WIDTH-1));
- if (slbt_output_config_line(fdout,"key","value","annotation",midwidth))
+ if (slbt_output_info_line(fdout,"key","value","annotation",midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"---","-----","----------",midwidth))
+ if (slbt_output_info_line(fdout,"---","-----","----------",midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"compiler",cctx->cargv[0],"",midwidth))
+ if (slbt_output_info_line(fdout,"compiler",cctx->cargv[0],"",midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"target",cctx->target,"",midwidth))
+ if (slbt_output_info_line(fdout,"target",cctx->target,"",midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"host",cctx->host.host,cctx->cfgmeta.host,midwidth))
+ if (slbt_output_info_line(fdout,"host",cctx->host.host,cctx->cfgmeta.host,midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"flavor",cctx->host.flavor,cctx->cfgmeta.flavor,midwidth))
+ if (slbt_output_info_line(fdout,"flavor",cctx->host.flavor,cctx->cfgmeta.flavor,midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"ar",cctx->host.ar,cctx->cfgmeta.ar,midwidth))
+ if (slbt_output_info_line(fdout,"ar",cctx->host.ar,cctx->cfgmeta.ar,midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"ranlib",cctx->host.ranlib,cctx->cfgmeta.ranlib,midwidth))
+ if (slbt_output_info_line(fdout,"ranlib",cctx->host.ranlib,cctx->cfgmeta.ranlib,midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"windres",cctx->host.windres,cctx->cfgmeta.windres,midwidth))
+ if (slbt_output_info_line(fdout,"windres",cctx->host.windres,cctx->cfgmeta.windres,midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"dlltool",cctx->host.dlltool,cctx->cfgmeta.dlltool,midwidth))
+ if (slbt_output_info_line(fdout,"dlltool",cctx->host.dlltool,cctx->cfgmeta.dlltool,midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
- if (slbt_output_config_line(fdout,"mdso",cctx->host.mdso,cctx->cfgmeta.mdso,midwidth))
+ if (slbt_output_info_line(fdout,"mdso",cctx->host.mdso,cctx->cfgmeta.mdso,midwidth))
return SLBT_SYSTEM_ERROR(dctx,0);
return 0;