Skip to content

Commit

Permalink
Fix missing-prototypes warning (i3#3479)
Browse files Browse the repository at this point in the history
  • Loading branch information
buchankn committed Mar 11, 2023
1 parent 80e9ce7 commit 61347cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sparse_surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
extern xcb_visualtype_t *visual_type;

void sparse_surface_free_one_side(xcb_connection_t *conn, sparse_surface_t *sparse_surface, sparse_surface_side side, bool clear_id);
void surface_free(xcb_connection_t *conn,
cairo_t **cr,
xcb_gcontext_t gc,
cairo_surface_t **surface);

bool sparse_surface_initialized(sparse_surface_t *sparse_surface) {
if (sparse_surface->side_surface[SPARSE_SURFACE_TOP].id == XCB_NONE &&
Expand Down

0 comments on commit 61347cf

Please sign in to comment.