gecko-dev/layout/tables
Chris Peterson 73675ec9f2 Bug 1443402 - Fix some -Wmissing-prototypes warnings in layout. r=dholbert
-Wmissing-prototypes is a new optional warning available in clang ToT. It warns about global functions that have no previous function declaration (e.g. from an #included header file). These functions can probably be made static (allowing the compiler to better optimize them) or they may be unused.

Confusingly, clang's -Wmissing-prototypes is equivalent to gcc's -Wmissing-declarations, not gcc's -Wmissing-prototypes. A function prototype is a function declaration that specifies the function's argument types. C++ requires that all function declarations specify their argument types, but C does not. As such, gcc's -Wmissing-prototypes is a C-only warning about C functions that have no previous function *prototypes* (with argument types), even if a previous function *declaration* (without argument types) was seen.

MozReview-Commit-ID: FGKVLzeQ2oK

--HG--
extra : rebase_source : 81e62163bf41a5d5dd87abf5397e6e8c62ed4096
extra : source : 653a9fc279e2f6a6d066474a94a70d65ac703d6b
2018-02-22 21:03:45 -08:00
..
crashtests
reftests
test
BasicTableLayoutStrategy.cpp
BasicTableLayoutStrategy.h
FixedTableLayoutStrategy.cpp
FixedTableLayoutStrategy.h
SpanningCellSorter.cpp
SpanningCellSorter.h
TableArea.h
celldata.h
moz.build
nsCellMap.cpp
nsCellMap.h
nsITableCellLayout.h
nsITableLayoutStrategy.h
nsTableCellFrame.cpp Bug 1439882 - Removes several redundant #include directives in layout files r=dholbert 2018-03-02 04:12:39 +08:00
nsTableCellFrame.h Bug 1439882 - Removes several redundant #include directives in layout files r=dholbert 2018-03-02 04:12:39 +08:00
nsTableColFrame.cpp
nsTableColFrame.h
nsTableColGroupFrame.cpp Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn 2018-02-01 15:04:04 +11:00
nsTableColGroupFrame.h
nsTableFrame.cpp Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas 2018-02-13 13:43:28 +13:00
nsTableFrame.h
nsTableRowFrame.cpp Bug 1443402 - Fix some -Wmissing-prototypes warnings in layout. r=dholbert 2018-02-22 21:03:45 -08:00
nsTableRowFrame.h
nsTableRowGroupFrame.cpp
nsTableRowGroupFrame.h
nsTableWrapperFrame.cpp
nsTableWrapperFrame.h