aboutsummaryrefslogtreecommitdiff
path: root/gprof/source.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/source.c')
-rw-r--r--gprof/source.c14
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;