Fix build with -Wmissing-prototypes
Summary: The changed functions tripped -Wmissing-prototypes. (e.g., `void Foo();` doesn't count as a prototype in C. you need `void Foo(void);`) Reviewed By: mzlee Differential Revision: D4012611 fbshipit-source-id: f56949d464e0ce602138b60f4abfd45b211be3b2
This commit is contained in:
committed by
Facebook Github Bot
parent
df6b4d3682
commit
8df9320f4c
@@ -208,7 +208,7 @@ void CSSNodeInit(const CSSNodeRef node) {
|
||||
node->layout.cachedLayout.heightMeasureMode = (CSSMeasureMode) -1;
|
||||
}
|
||||
|
||||
void _CSSNodeMarkDirty(const CSSNodeRef node) {
|
||||
static void _CSSNodeMarkDirty(const CSSNodeRef node) {
|
||||
if (!node->isDirty) {
|
||||
node->isDirty = true;
|
||||
node->layout.computedFlexBasis = CSSUndefined;
|
||||
|
Reference in New Issue
Block a user