diff options
author | Juan Cespedes <cespedes@coco.thehackers.org> | 2009-04-28 20:02:41 +0200 |
---|---|---|
committer | Juan Cespedes <cespedes@coco.thehackers.org> | 2009-04-28 20:02:41 +0200 |
commit | a8909f71e1421949c960f287217be6c42c286c0f (patch) | |
tree | e49a6290c1628342168425b39c1c3da67a9162ec /output.c | |
parent | 1e583132c95aa211fab9e0e0869b237adfa78304 (diff) | |
download | ltrace-a8909f71e1421949c960f287217be6c42c286c0f.tar.gz |
struct process -> Process
Diffstat (limited to 'output.c')
-rw-r--r-- | output.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -24,18 +24,18 @@ extern struct timeval current_time_spent; struct dict *dict_opt_c = NULL; -static struct process *current_proc = 0; +static Process *current_proc = 0; static int current_depth = 0; static int current_column = 0; static void -output_indent(struct process *proc) { +output_indent(Process *proc) { current_column += fprintf(options.output, "%*s", options.indent * proc->callstack_depth, ""); } static void -begin_of_line(enum tof type, struct process *proc) { +begin_of_line(enum tof type, Process *proc) { current_column = 0; if (!proc) { return; @@ -126,7 +126,7 @@ name2func(char *name) { } void -output_line(struct process *proc, char *fmt, ...) { +output_line(Process *proc, char *fmt, ...) { va_list args; if (options.summary) { @@ -160,7 +160,7 @@ tabto(int col) { } void -output_left(enum tof type, struct process *proc, char *function_name) { +output_left(enum tof type, Process *proc, char *function_name) { struct function *func; static arg_type_info *arg_unknown = NULL; if (arg_unknown == NULL) @@ -217,7 +217,7 @@ output_left(enum tof type, struct process *proc, char *function_name) { } void -output_right(enum tof type, struct process *proc, char *function_name) { +output_right(enum tof type, Process *proc, char *function_name) { struct function *func = name2func(function_name); static arg_type_info *arg_unknown = NULL; if (arg_unknown == NULL) |