+Sat Mar 20 21:46:06 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * c-lex.c (yylex): Remove unused variable `bytes'.
+
+ * flow.c (print_rtl_with_bb): Cast the return value of alloca.
+
+ * function.c (assign_parms): Wrap variable `varargs_setup' in
+ macro SETUP_INCOMING_VARARGS.
+ (thread_prologue_and_epilogue_insns): Mark parameter `f' with
+ ATTRIBUTE_UNUSED.
+
+ * local-alloc.c (no_equiv): Likewise for parameter `store'.
+
+ * sched.c (schedule_insns): Remove unused variables `insn' and `next'.
+
+ * tlink.c (symbol_hash_newfunc, symbol_hash_lookup,
+ file_hash_newfunc, file_hash_lookup, demangled_hash_newfunc,
+ demangled_hash_lookup, symbol_push, symbol_pop, file_push,
+ file_pop, tlink_init, tlink_execute, frob_extension,
+ obstack_fgets, tfgets, pfgets, freadsym, read_repo_file,
+ maybe_tweak, recompile_files, read_repo_files,
+ demangle_new_symbols, scan_linker_output): Add static prototype.
+
+ (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc):
+ Make the third argument a `hash_table_key'.
+
+ * toplev.c (debug_start_source_file): Mark parameter `filename'
+ with ATTRIBUTE_UNUSED.
+
Sun Mar 21 02:28:21 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* tm.texi (Varargs): Don't split argument of @item across lines.
static struct hash_table symbol_table;
+static struct hash_entry * symbol_hash_newfunc PARAMS ((struct hash_entry *,
+ struct hash_table *,
+ hash_table_key));
+static struct symbol_hash_entry * symbol_hash_lookup PARAMS ((const char *,
+ boolean));
+static struct hash_entry * file_hash_newfunc PARAMS ((struct hash_entry *,
+ struct hash_table *,
+ hash_table_key));
+static struct file_hash_entry * file_hash_lookup PARAMS ((const char *));
+static struct hash_entry * demangled_hash_newfunc PARAMS ((struct hash_entry *,
+ struct hash_table *,
+ hash_table_key));
+static struct demangled_hash_entry *
+ demangled_hash_lookup PARAMS ((const char *, boolean));
+static void symbol_push PARAMS ((symbol *));
+static symbol * symbol_pop PARAMS ((void));
+static void file_push PARAMS ((file *));
+static file * file_pop PARAMS ((void));
+static void tlink_init PARAMS ((void));
+static int tlink_execute PARAMS ((char *, char **, char *));
+static char * frob_extension PARAMS ((char *, const char *));
+static char * obstack_fgets PARAMS ((FILE *, struct obstack *));
+static char * tfgets PARAMS ((FILE *));
+static char * pfgets PARAMS ((FILE *));
+static void freadsym PARAMS ((FILE *, file *, int));
+static void read_repo_file PARAMS ((file *));
+static void maybe_tweak PARAMS ((char *, file *));
+static int recompile_files PARAMS ((void));
+static int read_repo_files PARAMS ((char **));
+static void demangle_new_symbols PARAMS ((void));
+static int scan_linker_output PARAMS ((const char *));
+
/* Create a new entry for the symbol hash table.
Passed to hash_table_init. */
symbol_hash_newfunc (entry, table, string)
struct hash_entry *entry;
struct hash_table *table;
- const char *string;
+ hash_table_key string;
{
struct symbol_hash_entry *ret = (struct symbol_hash_entry *) entry;
if (ret == NULL)
return NULL;
}
ret = ((struct symbol_hash_entry *)
- hash_newfunc ((struct hash_entry *) ret, table,
- (hash_table_key) string));
+ hash_newfunc ((struct hash_entry *) ret, table, string));
ret->file = NULL;
ret->chosen = 0;
ret->tweaking = 0;
file_hash_newfunc (entry, table, string)
struct hash_entry *entry;
struct hash_table *table;
- const char *string;
+ hash_table_key string;
{
struct file_hash_entry *ret = (struct file_hash_entry *) entry;
if (ret == NULL)
return NULL;
}
ret = ((struct file_hash_entry *)
- hash_newfunc ((struct hash_entry *) ret, table,
- (hash_table_key) string));
+ hash_newfunc ((struct hash_entry *) ret, table, string));
ret->args = NULL;
ret->dir = NULL;
ret->main = NULL;
demangled_hash_newfunc (entry, table, string)
struct hash_entry *entry;
struct hash_table *table;
- const char *string;
+ hash_table_key string;
{
struct demangled_hash_entry *ret = (struct demangled_hash_entry *) entry;
if (ret == NULL)
return NULL;
}
ret = ((struct demangled_hash_entry *)
- hash_newfunc ((struct hash_entry *) ret, table,
- (hash_table_key) string));
+ hash_newfunc ((struct hash_entry *) ret, table, string));
ret->mangled = NULL;
return (struct hash_entry *) ret;
}
static char *
frob_extension (s, ext)
- char *s, *ext;
+ char *s;
+ const char *ext;
{
char *p = rindex (s, '/');
if (! p)
static int
scan_linker_output (fname)
- char *fname;
+ const char *fname;
{
FILE *stream = fopen (fname, "r");
char *line;