aboutsummaryrefslogtreecommitdiff
path: root/output.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-01-03 17:03:39 +0100
committerPetr Machata <pmachata@redhat.com>2012-08-29 19:02:05 +0200
commit000e31195ad4ad30a0c80c93ab57a424e7d8d918 (patch)
tree5cbadf5497d1ef87725561d74b4e193f2ec8ef48 /output.c
parenta0a6a54a41d828c9a018829033443b0faabefb2f (diff)
downloadltrace-000e31195ad4ad30a0c80c93ab57a424e7d8d918.tar.gz
Add type.c/.h, value.c/.h, value_dict.c/.h
- none of this is plugged in yet - expr.c/.h is not in yet, so we still express array length with len_spec integer. Some function are mocked out so the thing compiles
Diffstat (limited to 'output.c')
-rw-r--r--output.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/output.c b/output.c
index db6e93e..265993c 100644
--- a/output.c
+++ b/output.c
@@ -11,6 +11,7 @@
#include "common.h"
#include "proc.h"
#include "library.h"
+#include "type.h"
/* TODO FIXME XXX: include in common.h: */
extern struct timeval current_time_spent;
@@ -161,7 +162,7 @@ output_left(enum tof type, struct Process *proc,
{
const char *function_name = libsym->name;
Function *func;
- static arg_type_info *arg_unknown = NULL;
+ static struct arg_type_info *arg_unknown = NULL;
if (arg_unknown == NULL)
arg_unknown = lookup_prototype(ARGTYPE_UNKNOWN);
@@ -225,7 +226,7 @@ output_right(enum tof type, struct Process *proc, struct library_symbol *libsym)
{
const char *function_name = libsym->name;
Function *func = name2func(function_name);
- static arg_type_info *arg_unknown = NULL;
+ static struct arg_type_info *arg_unknown = NULL;
if (arg_unknown == NULL)
arg_unknown = lookup_prototype(ARGTYPE_UNKNOWN);