From: compudj Date: Wed, 10 Oct 2007 18:37:14 +0000 (+0000) Subject: fix field array X-Git-Tag: v0.12.20~864 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=23d4bace4f1b5d5479cd0240352964df299c9de4;p=lttv.git fix field array git-svn-id: http://ltt.polymtl.ca/svn@2625 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.h b/ltt/branches/poly/lttv/lttv/tracecontext.h index dacd4d0f..873aa61f 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.h +++ b/ltt/branches/poly/lttv/lttv/tracecontext.h @@ -279,7 +279,7 @@ typedef struct _LttvTraceHook { gpointer hook_data; } LttvTraceHook; -#define FIELD_ARRAY(val) ((GQuark[]){ (val), 0 }) +#define FIELD_ARRAY(val...) ((GQuark[]){ val, 0 }) /* Get the head of marker list correcponding to the given trace hook. */