[cairo-commit] cairo/src cairo-xcb.h, 1.3, 1.4 cairo_xcb_surface.c, 1.19, 1.20

Jamey Sharp commit at pdx.freedesktop.org
Fri Mar 25 11:47:44 PST 2005


Committed by: jamey

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv6059/src

Modified Files:
	cairo-xcb.h cairo_xcb_surface.c 
Log Message:
2005-03-25  Jamey Sharp  <jamey at minilop.net>

	* src/cairo-xcb.h:
	* src/cairo_xcb_surface.c:
	Fix "implicit declaration" warning in cairo.c by moving
	cairo_xcb_surface_create prototype into cairo-xcb.h.


Index: cairo-xcb.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xcb.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cairo-xcb.h	22 Feb 2005 19:35:03 -0000	1.3
+++ cairo-xcb.h	25 Mar 2005 19:47:39 -0000	1.4
@@ -53,6 +53,12 @@
 		      XCBVISUALTYPE	*visual,
 		      cairo_format_t	format);
 
+cairo_surface_t *
+cairo_xcb_surface_create (XCBConnection		*dpy,
+			   XCBDRAWABLE		drawable,
+			   XCBVISUALTYPE		*visual,
+			   cairo_format_t	format);
+
 CAIRO_END_DECLS
 
 #endif /* CAIRO_HAS_XCB_SURFACE */

Index: cairo_xcb_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_xcb_surface.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- cairo_xcb_surface.c	23 Mar 2005 21:49:33 -0000	1.19
+++ cairo_xcb_surface.c	25 Mar 2005 19:47:39 -0000	1.20
@@ -37,12 +37,6 @@
 #include "cairoint.h"
 #include "cairo-xcb.h"
 
-cairo_surface_t *
-cairo_xcb_surface_create (XCBConnection		*dpy,
-			   XCBDRAWABLE		drawable,
-			   XCBVISUALTYPE		*visual,
-			   cairo_format_t	format);
-
 #define AllPlanes               ((unsigned long)~0L)
 
 static XCBRenderPICTFORMAT




More information about the cairo-commit mailing list