diff options
author | Petr Machata <pmachata@redhat.com> | 2012-11-23 19:08:22 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2013-03-08 22:55:25 +0100 |
commit | 9bc290b692c0b5075c6ea8e93f67a179572375f0 (patch) | |
tree | 3ba61895d267ac6ab03d248aaffc1165ce8b59a7 | |
parent | 756422773afa17f39d3296669eb66708557f7d3c (diff) | |
download | ltrace-9bc290b692c0b5075c6ea8e93f67a179572375f0.tar.gz |
Coding style in output.c
-rw-r--r-- | output.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -35,17 +35,17 @@ #include <assert.h> #include "common.h" -#include "proc.h" #include "demangle.h" +#include "fetch.h" +#include "lens_default.h" #include "library.h" +#include "memstream.h" #include "options.h" +#include "param.h" +#include "proc.h" #include "type.h" #include "value.h" #include "value_dict.h" -#include "param.h" -#include "fetch.h" -#include "lens_default.h" -#include "memstream.h" /* TODO FIXME XXX: include in common.h: */ extern struct timeval current_time_spent; @@ -432,7 +432,6 @@ output_left(enum tof type, struct process *proc, struct library_symbol *libsym) { const char *function_name = libsym->name; - struct prototype *func; if (options.summary) { return; @@ -471,7 +470,7 @@ output_left(enum tof type, struct process *proc, account_output(¤t_column, fprintf(options.output, "(")); - func = name2func(function_name); + struct prototype *func = name2func(function_name); if (func == NULL) { account_output(¤t_column, fprintf(options.output, "???")); return; |