]> git.eshelyaron.com Git - emacs.git/commitdiff
(same_x_server): String pointer args now point to
authorKen Raeburn <raeburn@raeburn.org>
Tue, 16 Jul 2002 19:49:27 +0000 (19:49 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Tue, 16 Jul 2002 19:49:27 +0000 (19:49 +0000)
const.
(same_x_server): Use const for pointer to lisp string
data.

src/xterm.c

index b0b52ebbdf3377ff3573b55e8619730351a6b78f..151fe74419342d8bd74b67d16b42376d182e1b9e 100644 (file)
@@ -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;