diff options
author | Ben Elliston <bje@au.ibm.com> | 2004-05-26 04:06:26 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2004-05-26 04:06:26 +0000 |
commit | 624da7d0176d1e16f5f3e16d3b00cf55c4a4cf96 (patch) | |
tree | ac5892106204418ef9ee714fd1daf1574d61d408 /gprof/corefile.h | |
parent | 6b20dbcc9f19e1337d36266799a7446d4f3ac761 (diff) | |
download | binutils-redhat-624da7d0176d1e16f5f3e16d3b00cf55c4a4cf96.tar.gz |
* corefile.c (core_init): Use a separate local variable,gprof-pre-ansify-2004-05-26
core_sym_bytes, to make the units from bfd_get_symtab_upper_bound
more obvious.
(core_create_function_syms): Discard cbfd argument. Eliminate
`offset' variable and calculate VMA directly. Update all users.
* corefile.h (core_create_function_syms): Update prototype.
(core_create_line_syms): Likewise.
* gprof.c (main): Remove #ifdef PROF_SUPPORT_IMPLEMENTED code.
Tidy.
Diffstat (limited to 'gprof/corefile.h')
-rw-r--r-- | gprof/corefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/corefile.h b/gprof/corefile.h index 7ecbbff87f..87237921f3 100644 --- a/gprof/corefile.h +++ b/gprof/corefile.h @@ -41,7 +41,7 @@ extern int offset_to_code; /* Offset (in bytes) of code from entry extern void core_init PARAMS ((const char *)); extern void core_get_text_space PARAMS ((bfd *)); -extern void core_create_function_syms PARAMS ((bfd *)); -extern void core_create_line_syms PARAMS ((bfd *)); +extern void core_create_function_syms PARAMS ((void)); +extern void core_create_line_syms PARAMS ((void)); #endif /* corefile_h */ |