summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_libmeta_impl.c24
-rw-r--r--src/internal/slibtool_metafile_impl.h8
2 files changed, 16 insertions, 16 deletions
diff --git a/src/internal/slibtool_libmeta_impl.c b/src/internal/slibtool_libmeta_impl.c
index 961a69a..0db0686 100644
--- a/src/internal/slibtool_libmeta_impl.c
+++ b/src/internal/slibtool_libmeta_impl.c
@@ -18,10 +18,10 @@
static int slbt_create_default_library_wrapper(
const struct slbt_driver_ctx * dctx,
struct slbt_exec_ctx * ectx,
- char * arname,
- char * soname,
- char * soxyz,
- char * solnk)
+ const char * arname,
+ const char * soname,
+ const char * soxyz,
+ const char * solnk)
{
int ret;
int fdout;
@@ -131,10 +131,10 @@ static int slbt_create_default_library_wrapper(
static int slbt_create_compatible_library_wrapper(
const struct slbt_driver_ctx * dctx,
struct slbt_exec_ctx * ectx,
- char * arname,
- char * soname,
- char * soxyz,
- char * solnk)
+ const char * arname,
+ const char * soname,
+ const char * soxyz,
+ const char * solnk)
{
int ret;
int fdout;
@@ -270,10 +270,10 @@ static int slbt_create_compatible_library_wrapper(
slbt_hidden int slbt_create_library_wrapper(
const struct slbt_driver_ctx * dctx,
struct slbt_exec_ctx * ectx,
- char * arname,
- char * soname,
- char * soxyz,
- char * solnk)
+ const char * arname,
+ const char * soname,
+ const char * soxyz,
+ const char * solnk)
{
if (dctx->cctx->drvflags & SLBT_DRIVER_LEGABITS)
return slbt_create_compatible_library_wrapper(
diff --git a/src/internal/slibtool_metafile_impl.h b/src/internal/slibtool_metafile_impl.h
index bd78b09..b415c05 100644
--- a/src/internal/slibtool_metafile_impl.h
+++ b/src/internal/slibtool_metafile_impl.h
@@ -10,9 +10,9 @@ int slbt_create_object_wrapper(
int slbt_create_library_wrapper(
const struct slbt_driver_ctx * dctx,
struct slbt_exec_ctx * ectx,
- char * arname,
- char * soname,
- char * soxyz,
- char * solnk);
+ const char * arname,
+ const char * soname,
+ const char * soxyz,
+ const char * solnk);
#endif