Fix strict ISO-C compatibility for ust-tracepoint-event.h public header
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Jun 2012 15:51:31 +0000 (11:51 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Jun 2012 15:51:31 +0000 (11:51 -0400)
commit2eda209b5805e2ece837f436fca063ba2775e4ff
tree5d44851cfa48f64f808197531eabcb5d549a41d4
parent4495dd39c05739d0fb2bc463b7c093d2459ce2b6
Fix strict ISO-C compatibility for ust-tracepoint-event.h public header

../../include/lttng/ust-tracepoint-event.h:328:23: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]

Use ... and __VA_ARGS__ instead of args... and args.

This enables ISO-C compability for the tracepoint headers for program
instrumentation. Note that the probes need to be built _without_ strict
C99 flags (they require gnu extensions).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-tracepoint-event.h
This page took 0.025409 seconds and 4 git commands to generate.