diff options
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r-- | gprof/gprof.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c index 381118c..727aca4 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -44,8 +44,8 @@ #include "demangle.h" #include "getopt.h" -static void usage PARAMS ((FILE *, int)) ATTRIBUTE_NORETURN; -int main PARAMS ((int, char **)); +static void usage (FILE *, int) ATTRIBUTE_NORETURN; +int main (int, char **); const char *whoami; const char *function_mapping_file; @@ -156,9 +156,7 @@ static struct option long_options[] = static void -usage (stream, status) - FILE *stream; - int status; +usage (FILE *stream, int status) { fprintf (stream, _("\ Usage: %s [-[abcDhilLsTvwxyz]] [-[ACeEfFJnNOpPqQZ][name]] [-I dirs]\n\ @@ -182,9 +180,7 @@ Usage: %s [-[abcDhilLsTvwxyz]] [-[ACeEfFJnNOpPqQZ][name]] [-I dirs]\n\ int -main (argc, argv) - int argc; - char **argv; +main (int argc, char **argv) { char **sp, *str; Sym **cg = 0; @@ -650,8 +646,7 @@ This program is free software. This program has absolutely no warranty.\n")); } void -done (status) - int status; +done (int status) { exit (status); } |