diff options
author | Eric Anholt <eric@anholt.net> | 2012-11-17 13:11:10 -0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-20 11:39:47 +0000 |
commit | 18b2e2a82724407196001ca853bd83150c66c5bd (patch) | |
tree | ef1a93b2f27e959a86700707aeed0a14bef7f2e6 | |
parent | 2d1e267e662505ca0dd318765464a24739dc5bd8 (diff) |
uxa: Add printf attribute to intel_debug_fallback().
Shuts up a bunch of warnings with xorg's shared warning flags, and
should give us more informative warnings in our code.
-rw-r--r-- | src/intel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel.h b/src/intel.h index d3947501..53ce33c1 100644 --- a/src/intel.h +++ b/src/intel.h @@ -553,6 +553,9 @@ intel_get_transformed_coordinates_3d(int x, int y, PictTransformPtr transform, float *x_out, float *y_out, float *z_out); static inline void +intel_debug_fallback(ScrnInfoPtr scrn, const char *format, ...) _X_ATTRIBUTE_PRINTF(2, 3); + +static inline void intel_debug_fallback(ScrnInfoPtr scrn, const char *format, ...) { intel_screen_private *intel = intel_get_screen_private(scrn); |