summaryrefslogtreecommitdiff
path: root/src/Intrinsic.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-03-20 05:07:21 -0400
committerThomas E. Dickey <dickey@his.com>2019-04-16 19:39:55 +0000
commite53726577e18f37186d7996dc85dc82de9532d22 (patch)
treee9950cf4c7068bc82c556ccfe280f959add600b1 /src/Intrinsic.c
parent13ed4421006c3bc7743233a401ce80f849dd889b (diff)
downloadxorg-lib-libXt-e53726577e18f37186d7996dc85dc82de9532d22.tar.gz
Allow all of the "argv" strings to be writable, since those arrays may
be updated during initialization. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Intrinsic.c')
-rw-r--r--src/Intrinsic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Intrinsic.c b/src/Intrinsic.c
index cd70b15..e938e98 100644
--- a/src/Intrinsic.c
+++ b/src/Intrinsic.c
@@ -1061,7 +1061,7 @@ static Boolean Resolve(
String XtFindFile(
- _Xconst char* path,
+ _Xconst _XtString path,
Substitution substitutions,
Cardinal num_substitutions,
XtFilePredicate predicate)
@@ -1334,7 +1334,7 @@ static SubstitutionRec defaultSubs[] = {
};
-String XtResolvePathname(
+_XtString XtResolvePathname(
Display *dpy,
_Xconst char* type,
_Xconst char* filename,