+2000-10-28 Kevin Buettner <kevinb@redhat.com>
+
+ * symtab.c (decode_line_2, file_matches, search_symbols): Protoize.
+ * thread.c (iterate_over_threads): Protoize.
+
2000-10-27 J.T. Conklin <jtc@redback.com>
* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
as canonical line specs there. */
static struct symtabs_and_lines
-decode_line_2 (sym_arr, nelts, funfirstline, canonical)
- struct symbol *sym_arr[];
- int nelts;
- int funfirstline;
- char ***canonical;
+decode_line_2 (struct symbol *sym_arr[], int nelts, int funfirstline,
+ char ***canonical)
{
struct symtabs_and_lines values, return_values;
char *args, *arg1;
}
static int
-file_matches (file, files, nfiles)
- char *file;
- char *files[];
- int nfiles;
+file_matches (char *file, char *files[], int nfiles)
{
int i;
free_search_symbols should be called when *MATCHES is no longer needed.
*/
void
-search_symbols (regexp, kind, nfiles, files, matches)
- char *regexp;
- namespace_enum kind;
- int nfiles;
- char *files[];
- struct symbol_search **matches;
+search_symbols (char *regexp, namespace_enum kind, int nfiles, char *files[],
+ struct symbol_search **matches)
{
register struct symtab *s;
*/
struct thread_info *
-iterate_over_threads (callback, data)
- int (*callback) ();
- void *data;
+iterate_over_threads (int (*callback) (struct thread_info *, void *),
+ void *data)
{
struct thread_info *tp;