Mark functions printf-like where possible
authorThierry Reding <treding@nvidia.com>
Wed, 22 Jan 2014 11:06:51 +0000 (12:06 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Apr 2014 14:21:40 +0000 (16:21 +0200)
commit44b08c0ddf7ced99a5914421f18b269a1dcaafae
tree606eddc88e391a7c1f32f9c2c2cec162ceab6cd3
parent7974b539d2b46167972b9109046a45dbe852ae4c
Mark functions printf-like where possible

These functions all take a format string and either a list of variable
arguments or a va_list. Use the new DRM_PRINTFLIKE macro to tell the
compiler about it so that the arguments can be checked against the
format string.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Thierry Reding <treding@nvidia.com>
intel/intel_decode.c
tests/drmstat.c
xf86drm.c
xf86drm.h