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:54:26 +0000 (11:54 -0400)
commit69b240d37c2366123ee7a5bd5829416611838dcb
treed77186ea9c1adc973059755b94010547dbb02c54
parent68571fb524160fd3a0a0c9a7ab8d99cb38153135
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.026962 seconds and 4 git commands to generate.