From 3e090fd3a5a50c1576650295fb621fae678c1964 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 11 Nov 2005 19:46:09 +0000 Subject: [PATCH] compiler warnings git-svn-id: http://ltt.polymtl.ca/svn@1324 04897980-b3bd-0310-b5e0-8ef037075253 --- genevent-new/gentest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/genevent-new/gentest.c b/genevent-new/gentest.c index a918d541..3eb2bf19 100644 --- a/genevent-new/gentest.c +++ b/genevent-new/gentest.c @@ -3,6 +3,7 @@ #include #include #include +#include #define min(a,b) (((a)<(b))?a:b) #define max(a,b) (((a)>(b))?a:b) @@ -74,7 +75,7 @@ static inline void lttng_write_mystruct2( size_t *len, struct lttng_mystruct2 *obj) { - size_t align, size, varalign; + size_t align, size; align = lttng_get_alignment_mystruct2(obj); size = lttng_get_size_mystruct2(obj); -- 2.34.1