summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
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