From 59ab1dc7ee118716dc5382cde7b6189f7184cbe1 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 16 Jul 2002 19:49:27 +0000 Subject: [PATCH] (same_x_server): String pointer args now point to const. (same_x_server): Use const for pointer to lisp string data. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index b0b52ebbdf3..151fe744193 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -14686,10 +14686,10 @@ static int x_initialized; the screen number from the server number. */ static int same_x_server (name1, name2) - char *name1, *name2; + const char *name1, *name2; { int seen_colon = 0; - unsigned char *system_name = SDATA (Vsystem_name); + const unsigned char *system_name = SDATA (Vsystem_name); int system_name_length = strlen (system_name); int length_until_period = 0; -- 2.39.5