compiler warnings
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 11 Nov 2005 19:46:09 +0000 (19:46 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 11 Nov 2005 19:46:09 +0000 (19:46 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1324 04897980-b3bd-0310-b5e0-8ef037075253

genevent-new/gentest.c

index a918d5415eb08be838bdf060ab96d316a9ca6570..3eb2bf19fdf3e75221b921e2002263c19ace0490 100644 (file)
@@ -3,6 +3,7 @@
 #include <sys/types.h>
 #include <stdint.h>
 #include <stdlib.h>
+#include <string.h>
 
 #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);
This page took 0.024311 seconds and 4 git commands to generate.