Add 'unused' attribute to tracepoint callback
authorZifei Tong <zifeitong@gmail.com>
Fri, 14 Mar 2014 13:23:21 +0000 (21:23 +0800)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 14 Mar 2014 13:39:16 +0000 (09:39 -0400)
commit17ca060039dadc36eff49429af850c95659ab471
treee6c025671c66f3cd89f9f7876966c4cba7549c06
parent846154aa357f1cb4f6c4bbaa96d8a4e79ec67bd4
Add 'unused' attribute to tracepoint callback

Compiling tracepoint provider with clang generates 'Wunused-function'
warnings. Add 'unused' attribute to silence these warnings.

Fixes #760

Signed-off-by: Zifei Tong <zifeitong@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/tracepoint.h
This page took 0.024504 seconds and 4 git commands to generate.