summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-21 06:18:44 +0000
committermidipix <writeonce@midipix.org>2024-02-21 06:18:44 +0000
commitfc7ad9f9947b5097e1a246b009b487d3206fd588 (patch)
treeaca1e2b8f1099337d76db36afc83cbeba4750b8a /include
parent5b993e0818b603c1dec4126dfe45c617619eff93 (diff)
downloadslibtool-fc7ad9f9947b5097e1a246b009b487d3206fd588.tar.bz2
slibtool-fc7ad9f9947b5097e1a246b009b487d3206fd588.tar.xz
slbt_util_copy_file(): simplify interface.
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index e3277cc..f6e420c 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -417,10 +417,10 @@ slbt_api int slbt_host_flavor_settings (const char *, const struct slbt_flavor_
slbt_api int slbt_util_import_archive (const struct slbt_exec_ctx *,
char * dstarchive, char * srcarchive);
-slbt_api int slbt_util_create_mapfile (const struct slbt_symlist_ctx *, const char *, mode_t);
+slbt_api int slbt_util_copy_file (struct slbt_exec_ctx *,
+ const char * from, const char * to);
-slbt_api int slbt_util_copy_file (const struct slbt_driver_ctx *, struct slbt_exec_ctx *,
- char * src, char * dst);
+slbt_api int slbt_util_create_mapfile (const struct slbt_symlist_ctx *, const char *, mode_t);
slbt_api int slbt_util_dump_machine (const char * compiler, char * machine, size_t bufsize);