* alpha.c (alpha_find_call): Warning fixes.

* mips.c (mips_find_call): Likewise.
	* sparc.c (sparc_find_call): Likewise.
	* basic_blocks.c: Warning fixes.  Eliminate DEFUN.
	* call_graph.c: Likewise.
	* cg_arcs.c: Likewise.
	* cg_dfn.cp: Likewise.
	* gprof.c: Likewise.
	* gprof.h: Likewise.
	* hist.c: Likewise.
	* search_list.c: Likewise.
	* source.c: Likewise.
	* source.h: Likewise.
	* sym_ids.c: Likewise.
	* symtab.c: Likewise.
	* symtab.h: Likewise.
	* utils.c: Likewise.
	* cg_print.c: Likewise.
	(struct function_map, symbol_map, symbol_map_count): Move
	declaration to..
	* corefile: ..here.
	* corefile.c: Warning fixes.  Eliminate DEFUN.
	(struct function_map): Remove declaration.
	* gmon_io.c: Warning fixes.  Eliminate DEFUN.
	(gmon_io_read_64): Make static.
	(gmon_io_write_64): Likewise.
	(gmon_read_raw_arc): Likewise.
	(gmon_write_raw_arc): Likewise.
	(gmon_io_write_8): Don't pass char, pass int param.
	* gmon_io.h (gmon_io_write_8): Likewise.

and a few copyright dates that should have been done previously.
This commit is contained in:
Alan Modra 2002-02-01 08:24:16 +00:00
parent 48fa4a5def
commit 1355568ab4
25 changed files with 446 additions and 223 deletions

View file

@ -1,6 +1,6 @@
/* source.c - Keep track of source files.
Copyright 2000, 2001 Free Software Foundation, Inc.
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@ -35,7 +35,8 @@ Source_File *first_src_file = 0;
Source_File *
DEFUN (source_file_lookup_path, (path), const char *path)
source_file_lookup_path (path)
const char *path;
{
Source_File *sf;
@ -62,7 +63,8 @@ DEFUN (source_file_lookup_path, (path), const char *path)
Source_File *
DEFUN (source_file_lookup_name, (filename), const char *filename)
source_file_lookup_name (filename)
const char *filename;
{
const char *fname;
Source_File *sf;
@ -89,10 +91,11 @@ DEFUN (source_file_lookup_name, (filename), const char *filename)
FILE *
DEFUN (annotate_source, (sf, max_width, annote, arg),
Source_File * sf AND int max_width
AND void (*annote) PARAMS ((char *buf, int w, int l, void *arg))
AND void *arg)
annotate_source (sf, max_width, annote, arg)
Source_File *sf;
unsigned int max_width;
void (*annote) PARAMS ((char *, unsigned int, int, void *));
void *arg;
{
static boolean first_file = true;
int i, line_num, nread;