mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-08 17:40:40 +01:00
Fix "implicit declaration" warning in cairo.c by moving cairo_xcb_surface_create prototype into cairo-xcb.h.
This commit is contained in:
parent
410e3ae8f2
commit
33d2ec2eb8
4 changed files with 13 additions and 12 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2005-03-25 Jamey Sharp <jamey@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.
|
||||
|
||||
2005-03-23 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-path-fixed-private.h:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -53,6 +53,12 @@ cairo_set_target_xcb (cairo_t *cr,
|
|||
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 */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue