--- a/rsvg-base.c
+++ b/rsvg-base.c
@@ -2203,7 +2203,7 @@ rsvg_push_discrete_layer (RsvgDrawingCtx
     ctx->render->push_discrete_layer (ctx);
 }
 
-void
+static void
 rsvg_drawing_ctx_increase_num_elements_acquired (RsvgDrawingCtx *draw_ctx)
 {
     draw_ctx->num_elements_acquired++;
