From b3d033f027fd1b3445e584de55956762e2be97c7 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sun, 26 Mar 2023 10:38:05 -0400 Subject: [PATCH] LibWeb: Declare overflow_value_makes_box_a_scroll_container as static It is only used in this file, and not being declared static gives a "no previous declaration" error. --- Userland/Libraries/LibWeb/Layout/Box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Layout/Box.cpp b/Userland/Libraries/LibWeb/Layout/Box.cpp index 8ddfc78a7c..62df072e6a 100644 --- a/Userland/Libraries/LibWeb/Layout/Box.cpp +++ b/Userland/Libraries/LibWeb/Layout/Box.cpp @@ -30,7 +30,7 @@ Box::~Box() } // https://www.w3.org/TR/css-overflow-3/#overflow-control -bool overflow_value_makes_box_a_scroll_container(CSS::Overflow overflow) +static bool overflow_value_makes_box_a_scroll_container(CSS::Overflow overflow) { switch (overflow) { case CSS::Overflow::Clip: