[cairo-commit] src/cairoint.h

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Apr 18 14:51:32 PDT 2007


 src/cairoint.h |    3 +++
 1 files changed, 3 insertions(+)

New commits:
diff-tree 48121e97ac4f0114a0d5bc35aec76d2aba23a783 (from a396e0b05731db3acbf1e8d82ab77592b697e417)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Apr 18 17:04:07 2007 -0400

    [cairoint.h] Define WARN_UNUSED_RESULT if undefined

diff --git a/src/cairoint.h b/src/cairoint.h
index f5ecff0..a8b0525 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -110,6 +110,9 @@ CAIRO_BEGIN_DECLS
 #define cairo_private_no_warn
 #endif
 
+#ifndef WARN_UNUSED_RESULT
+#define WARN_UNUSED_RESULT
+#endif
 /* Add attribute(warn_unused_result) if supported */
 #define cairo_warn	    WARN_UNUSED_RESULT
 #define cairo_private	    cairo_private_no_warn cairo_warn


More information about the cairo-commit mailing list