Fix build warnings from image_loader
authorPekka Paalanen <ppaalanen@gmail.com>
Fri, 30 Nov 2012 11:37:28 +0000 (13:37 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 30 Nov 2012 19:24:00 +0000 (14:24 -0500)
commit4fbb65372ea199a80183960f7d11af6e67fbd785
tree6cea01850d3f695bdec818e423cfac321b78fad5
parent0396ba204d4d20612bc57699ea755df627c8aa8f
Fix build warnings from image_loader

Fix the following build warnings, and the build failures due to the
warning fixes:

  CC     libshared_cairo_la-image-loader.lo
image-loader.c:369:1: warning: no previous prototype for 'load_image'

  CC     x11_backend_la-compositor-x11.lo
compositor-x11.c: In function 'x11_output_set_icon':
compositor-x11.c:396:2: warning: implicit declaration of function 'load_image'
compositor-x11.c:396:8: warning: assignment makes pointer from integer without a cast

  CC     wayland_backend_la-compositor-wayland.lo
compositor-wayland.c: In function 'create_border':
compositor-wayland.c:97:2: warning: implicit declaration of function 'load_image'
compositor-wayland.c:97:8: warning: assignment makes pointer from integer without a cast

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
shared/cairo-util.h
shared/image-loader.c
src/Makefile.am
src/compositor-wayland.c
src/compositor-x11.c
src/xwayland/Makefile.am