diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-03-20 21:18:22 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@his.com> | 2019-04-16 19:39:55 +0000 |
commit | e5a1e228e7ab7332d46db9278fa7af85ae889e70 (patch) | |
tree | 05de7dd1c45a0e8cd3b73a5a35fc8043877555c9 | |
parent | e98352cebda8de6a715f6c5f35e549dc8cd55b8b (diff) |
change return-type to avoid const-mismatches
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r-- | include/X11/Intrinsic.h | 2 | ||||
-rw-r--r-- | src/Intrinsic.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/Intrinsic.h b/include/X11/Intrinsic.h index 1f98d4c..760bba9 100644 --- a/include/X11/Intrinsic.h +++ b/include/X11/Intrinsic.h @@ -1983,7 +1983,7 @@ extern void XtSetWMColormapWindows( Cardinal /* count */ ); -extern String XtFindFile( +extern _XtString XtFindFile( _Xconst _XtString /* path */, Substitution /* substitutions */, Cardinal /* num_substitutions */, diff --git a/src/Intrinsic.c b/src/Intrinsic.c index 68cc326..44ac104 100644 --- a/src/Intrinsic.c +++ b/src/Intrinsic.c @@ -1060,7 +1060,7 @@ static Boolean Resolve( } -String XtFindFile( +_XtString XtFindFile( _Xconst _XtString path, Substitution substitutions, Cardinal num_substitutions, |