-Wwrite-strings: The Rest
[deliverable/binutils-gdb.git] / gdb / gdbarch.c
index 6debb10f594c4b26a76ccdf96e8637f98aa9e89f..319a8902a831ad19e785385fb52269659443a861 100644 (file)
@@ -84,7 +84,7 @@ pstring (const char *string)
   return string;
 }
 
-static char *
+static const char *
 pstring_ptr (char **string)
 {
   if (string == NULL || *string == NULL)
@@ -95,7 +95,7 @@ pstring_ptr (char **string)
 /* Helper function to print a list of strings, represented as "const
    char *const *".  The list is printed comma-separated.  */
 
-static char *
+static const char *
 pstring_list (const char *const *list)
 {
   static char ret[100];
This page took 0.026285 seconds and 4 git commands to generate.