[cairo-commit] 3 commits - src/cairo-image-surface.c src/Makefile.am

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Aug 21 22:08:07 PDT 2007


 src/Makefile.am           |    5 ++++-
 src/cairo-image-surface.c |    6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

New commits:
diff-tree e9d709b5caf4bc3c48259d6b40e6b95f730aa348 (from ef878345c87c57a79eda079fa5e765aba5ddf163)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Aug 22 01:07:59 2007 -0400

    [cairo-image-surface] Fix comment syntax
    Found by splint.

diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c
index 3b7768a..359685e 100644
--- a/src/cairo-image-surface.c
+++ b/src/cairo-image-surface.c
@@ -1252,15 +1252,15 @@ const cairo_surface_backend_t cairo_imag
     _cairo_image_surface_get_font_options,
     NULL, /* flush */
     NULL, /* mark_dirty_rectangle */
-    NULL, //* font_fini */
-    NULL, //* glyph_fini */
+    NULL, /* font_fini */
+    NULL, /* glyph_fini */
 
     NULL, /* paint */
     NULL, /* mask */
     NULL, /* stroke */
     NULL, /* fill */
     NULL, /* show_glyphs */
-    NULL,  /* snapshot */
+    NULL, /* snapshot */
     NULL, /* is_similar */
 
     _cairo_image_surface_reset
diff-tree ef878345c87c57a79eda079fa5e765aba5ddf163 (from f015091bb5361552eebfafc007bcf9e77ba5bfbf)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Aug 22 01:07:38 2007 -0400

    [Makefile.am] Add target splint to run splint static source code analyzer

diff --git a/src/Makefile.am b/src/Makefile.am
index fd12387..dc694fe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -300,3 +300,6 @@ install-data-local:
 TESTS_ENVIRONMENT = srcdir="$(srcdir)"
 TESTS = check-def.sh check-plt.sh check-headers.sh check-cairoint.sh
 EXTRA_DIST += $(TESTS)
+
+splint:
+	splint -I$(top_builddir) $(libcairo_la_CFLAGS) $(libcairo_la_SOURCES) -DHAVE_CONFIG_H
diff-tree f015091bb5361552eebfafc007bcf9e77ba5bfbf (from 3e5859c58f8749eaae16149577d52399a2fcf952)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Aug 22 01:03:50 2007 -0400

    [Makefile.am] Use libcairo_la_CFLAGS instead of INCLUDES
    for clarity.

diff --git a/src/Makefile.am b/src/Makefile.am
index 50c00a9..fd12387 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -253,7 +253,7 @@ libcairo_la_SOURCES =				\
 
 libcairo_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined $(export_symbols)
 
-INCLUDES = -I$(srcdir) $(CAIRO_CFLAGS)
+libcairo_la_CFLAGS = -I$(srcdir) $(CAIRO_CFLAGS)
 
 libcairo_la_LIBADD = $(CAIRO_LIBS) $(noinst_LTLIBRARIES) $(CAIRO_LDADD)
 


More information about the cairo-commit mailing list