diff options
author | Ben Elliston <bje@au.ibm.com> | 2004-05-26 04:55:55 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2004-05-26 04:55:55 +0000 |
commit | 3e8f6abf1e13bfd39a48b297f2679f5dd5fe6a3a (patch) | |
tree | 7b9315a4e43b3f3b3afd4812669db89b236220c8 /gprof/source.c | |
parent | 37b1bfcd81b4c43b5a649535c6306713cb04dd69 (diff) | |
download | binutils-3e8f6abf1e13bfd39a48b297f2679f5dd5fe6a3a.zip binutils-3e8f6abf1e13bfd39a48b297f2679f5dd5fe6a3a.tar.gz binutils-3e8f6abf1e13bfd39a48b297f2679f5dd5fe6a3a.tar.bz2 |
* alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c,
call_graph.c, call_graph.h, cg_arcs.c, cg_arcs.h, cg_dfn.c,
cg_dfn.h, cg_print.c, cg_print.h, corefile.c, corefile.h,
gmon_io.c, gmon_io.h, gprof.c, gprof.h, hertz.h, hist.c, hist.h,
i386.c, mips.c, search_list.c, search_list.h, source.c, source.h,
sparc.c, sym_ids.c, sym_ids.h, symtab.c, symtab.h, tahoe.c,
utils.c, utils.h, vax.c, gen-c-prog.awk: Convert K&R C to ANSI C.
Diffstat (limited to 'gprof/source.c')
-rw-r--r-- | gprof/source.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gprof/source.c b/gprof/source.c index 4074b2b..bbfeeb6 100644 --- a/gprof/source.c +++ b/gprof/source.c @@ -35,8 +35,7 @@ Source_File *first_src_file = 0; Source_File * -source_file_lookup_path (path) - const char *path; +source_file_lookup_path (const char *path) { Source_File *sf; @@ -63,8 +62,7 @@ source_file_lookup_path (path) Source_File * -source_file_lookup_name (filename) - const char *filename; +source_file_lookup_name (const char *filename) { const char *fname; Source_File *sf; @@ -91,11 +89,9 @@ source_file_lookup_name (filename) FILE * -annotate_source (sf, max_width, annote, arg) - Source_File *sf; - unsigned int max_width; - void (*annote) PARAMS ((char *, unsigned int, int, void *)); - void *arg; +annotate_source (Source_File *sf, unsigned int max_width, + void (*annote) (char *, unsigned int, int, void *), + void *arg) { static bfd_boolean first_file = TRUE; int i, line_num, nread; |