summaryrefslogtreecommitdiff
path: root/src/internal
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 /src/internal
parent5b993e0818b603c1dec4126dfe45c617619eff93 (diff)
downloadslibtool-fc7ad9f9947b5097e1a246b009b487d3206fd588.tar.bz2
slibtool-fc7ad9f9947b5097e1a246b009b487d3206fd588.tar.xz
slbt_util_copy_file(): simplify interface.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_symlink_impl.c2
-rw-r--r--src/internal/slibtool_symlink_impl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/slibtool_symlink_impl.c b/src/internal/slibtool_symlink_impl.c
index c9be845..a788800 100644
--- a/src/internal/slibtool_symlink_impl.c
+++ b/src/internal/slibtool_symlink_impl.c
@@ -131,7 +131,7 @@ slbt_hidden int slbt_create_symlink(
: 0;
}
-slbt_hidden int slbt_symlink_is_a_placeholder(int fdcwd, char * lnkpath)
+slbt_hidden int slbt_symlink_is_a_placeholder(int fdcwd, const char * lnkpath)
{
size_t len;
char slink [PATH_MAX];
diff --git a/src/internal/slibtool_symlink_impl.h b/src/internal/slibtool_symlink_impl.h
index fc4c708..14ddead 100644
--- a/src/internal/slibtool_symlink_impl.h
+++ b/src/internal/slibtool_symlink_impl.h
@@ -16,6 +16,6 @@ int slbt_create_symlink(
const char * lnkname,
uint32_t options);
-int slbt_symlink_is_a_placeholder(int fdcwd, char * lnkpath);
+int slbt_symlink_is_a_placeholder(int fdcwd, const char * lnkpath);
#endif