浏览代码

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.
Timothy Flynn 2 年之前
父节点
当前提交
b3d033f027
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Userland/Libraries/LibWeb/Layout/Box.cpp

+ 1 - 1
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: