summaryrefslogtreecommitdiff
path: root/src/Display.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-03-19 21:20:03 -0400
committerThomas E. Dickey <dickey@his.com>2019-04-16 19:39:55 +0000
commit13ed4421006c3bc7743233a401ce80f849dd889b (patch)
tree9ca90cd942cb7f1c08be8ea5ebbbb32865c5c48b /src/Display.c
parentd10e295117fdde9a085f12d90cab1adb978450bb (diff)
This is a minimal change which compiles when predefining _CONST_X_STRING,
by changing some function parameters and struct-members to _XtString (always "char*") from String (which may be "const char *"). There are still many compiler warnings; subsequent commits will reduce those. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Display.c')
-rw-r--r--src/Display.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Display.c b/src/Display.c
index 669c8b4..e7d4432 100644
--- a/src/Display.c
+++ b/src/Display.c
@@ -243,9 +243,9 @@ static XtPerDisplay InitPerDisplay(
Display *XtOpenDisplay(
XtAppContext app,
- _Xconst char* displayName,
- _Xconst char* applName,
- _Xconst char* className,
+ _Xconst _XtString displayName,
+ _Xconst _XtString applName,
+ _Xconst _XtString className,
XrmOptionDescRec *urlist,
Cardinal num_urs,
int *argc,
@@ -305,7 +305,7 @@ _XtAppInit(
XrmOptionDescRec *options,
Cardinal num_options,
int *argc_in_out,
- String **argv_in_out,
+ _XtString **argv_in_out,
String * fallback_resources)
{
String *saved_argv;
@@ -349,8 +349,8 @@ void
XtDisplayInitialize(
XtAppContext app,
Display *dpy,
- _Xconst char* name,
- _Xconst char* classname,
+ _Xconst _XtString name,
+ _Xconst _XtString classname,
XrmOptionDescRec *urlist,
Cardinal num_urs,
int *argc,