Add prototypes warnings, use -fvisibility.

This commit is contained in:
Kristian Høgsberg 2008-11-08 15:39:41 -05:00
parent f099fd24a3
commit b7a01928be
9 changed files with 79 additions and 55 deletions

View file

@ -197,6 +197,10 @@ draw_window(void *data)
wl_surface_attach(window->surface, buffer->name,
buffer->width, buffer->height, buffer->stride);
wl_surface_map(window->surface,
window->x, window->y,
buffer->width, buffer->height);
/* FIXME: Free window->buffer when we receive the ack event. */
buffer = window->egl_buffer;
@ -205,10 +209,6 @@ draw_window(void *data)
buffer->name, buffer->stride,
0, 0, buffer->width, buffer->height);
wl_surface_map(window->surface,
window->x, window->y,
buffer->width, buffer->height);
window->redraw_scheduled = 0;
return FALSE;