Fix compilation warnings.
[bpt/emacs.git] / lib-src / sorted-doc.c
index db3f302..4fe830e 100644 (file)
@@ -93,7 +93,7 @@ xmalloc (int size)
 }
 
 char *
-xstrdup (char *str)
+xstrdup (const char *str)
 {
   char *buf = xmalloc (strlen (str) + 1);
   (void) strcpy (buf, str);