diff options
Diffstat (limited to 'src/arbits')
-rw-r--r-- | src/arbits/output/slbt_au_output_mapfile.c | 12 | ||||
-rw-r--r-- | src/arbits/slbt_archive_mapfile.c (renamed from src/arbits/output/slbt_ar_output_mapfile.c) | 10 |
2 files changed, 14 insertions, 8 deletions
diff --git a/src/arbits/output/slbt_au_output_mapfile.c b/src/arbits/output/slbt_au_output_mapfile.c new file mode 100644 index 0000000..8a84cc2 --- /dev/null +++ b/src/arbits/output/slbt_au_output_mapfile.c @@ -0,0 +1,12 @@ +/*******************************************************************/ +/* slibtool: a skinny libtool implementation, written in C */ +/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ +/*******************************************************************/ + +#include <slibtool/slibtool.h> + +int slbt_au_output_mapfile(const struct slbt_archive_meta * meta) +{ + return slbt_ar_create_mapfile(meta,0,0); +} diff --git a/src/arbits/output/slbt_ar_output_mapfile.c b/src/arbits/slbt_archive_mapfile.c index f8cc1b7..2bca16d 100644 --- a/src/arbits/output/slbt_ar_output_mapfile.c +++ b/src/arbits/slbt_archive_mapfile.c @@ -15,7 +15,7 @@ #include "slibtool_errinfo_impl.h" #include "slibtool_ar_impl.h" -static int slbt_au_output_mapfile_impl( +static int slbt_ar_output_mapfile_impl( const struct slbt_driver_ctx * dctx, struct slbt_archive_meta_impl * mctx, int fdout) @@ -91,17 +91,11 @@ static int slbt_ar_create_mapfile_impl( fdout = fdctx.fdout; } - return slbt_au_output_mapfile_impl( + return slbt_ar_output_mapfile_impl( dctx,mctx,fdout); } -int slbt_au_output_mapfile(const struct slbt_archive_meta * meta) -{ - return slbt_ar_create_mapfile_impl(meta,0,0); -} - - int slbt_ar_create_mapfile( const struct slbt_archive_meta * meta, const char * path, |