[cairo-commit] src/cairo-default-context-private.h

Andrea Canciani ranma42 at kemper.freedesktop.org
Wed Nov 9 04:37:01 PST 2011


 src/cairo-default-context-private.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 26d5bb0eccb05de7d34056d63802736301f31b9c
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Wed Nov 9 13:34:53 2011 +0100

    default-context: Fix 'make check'
    
    'make check' reports:
    
    Checking that .libs/libcairo.so has the same symbol list as cairo.def
    1a2,3
    > _cairo_default_context_fini
    > _cairo_default_context_init
    
    Checking .libs/libcairo.so for local PLT entries
    0011a274  00025f07 R_386_JUMP_SLOT        00026350   _cairo_default_context_fini
    0011a494  00027607 R_386_JUMP_SLOT        00026480   _cairo_default_context_init
    
    Marking these functions as cairo_private fixes the problem.

diff --git a/src/cairo-default-context-private.h b/src/cairo-default-context-private.h
index b8d1a9a..a21629a 100644
--- a/src/cairo-default-context-private.h
+++ b/src/cairo-default-context-private.h
@@ -55,10 +55,10 @@ struct _cairo_default_context {
 cairo_private cairo_t *
 _cairo_default_context_create (void *target);
 
-cairo_status_t
+cairo_private cairo_status_t
 _cairo_default_context_init (cairo_default_context_t *cr, void *target);
 
-void
+cairo_private void
 _cairo_default_context_fini (cairo_default_context_t *cr);
 
 #endif /* CAIRO_DEFAULT_CONTEXT_PRIVATE_H */


More information about the cairo-commit mailing list