Keith Seitz 2013-10-02 00:46:07 +00:00
parent 62574b938f
commit d7561cbbf2
26 changed files with 289 additions and 132 deletions

View file

@ -426,7 +426,8 @@ start_msglist(void)
void
add_msglist(struct stoken *str, int addcolon)
{
char *s, *p;
char *s;
const char *p;
int len, plen;
if (str == 0) /* Unnamed arg, or... */
@ -1071,7 +1072,7 @@ uniquify_strings (VEC (const_char_ptr) **strings)
}
/*
* Function: find_imps (char *selector, struct symbol **sym_arr)
* Function: find_imps (const char *selector, struct symbol **sym_arr)
*
* Input: a string representing a selector
* a pointer to an array of symbol pointers
@ -1100,8 +1101,8 @@ uniquify_strings (VEC (const_char_ptr) **strings)
* be the index of the first non-debuggable one).
*/
char *
find_imps (char *method, VEC (const_char_ptr) **symbol_names)
const char *
find_imps (const char *method, VEC (const_char_ptr) **symbol_names)
{
char type = '\0';
char *class = NULL;