* gdbtypes.h (struct main_type): Change type of name,tag_name,
[deliverable/binutils-gdb.git] / gdb / buildsym.c
index 38bde22e209b7aa917ef9e150bbdf18c90f55038..a7f141eb5ddd9cf5d2896f79468fe7d3fbaf844c 100644 (file)
@@ -151,7 +151,7 @@ struct symbol *
 find_symbol_in_list (struct pending *list, char *name, int length)
 {
   int j;
-  char *pp;
+  const char *pp;
 
   while (list != NULL)
     {
@@ -1251,7 +1251,7 @@ pop_context (void)
 /* Compute a small integer hash code for the given name.  */
 
 int
-hashname (char *name)
+hashname (const char *name)
 {
     return (hash(name,strlen(name)) % HASHSIZE);
 }
This page took 0.024188 seconds and 4 git commands to generate.