changeset 46479:4729f849c572

(same_x_server): String pointer args now point to const. (same_x_server): Use const for pointer to lisp string data.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 16 Jul 2002 19:49:27 +0000
parents d6b51ec01987
children 5780b79b2269
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Tue Jul 16 19:49:19 2002 +0000
+++ b/src/xterm.c	Tue Jul 16 19:49:27 2002 +0000
@@ -14686,10 +14686,10 @@
    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;