ladybird/Ladybird/AppKit
Daniel Bertalan c62240aa80 Everywhere: Warn on function definitions without prototypes
If no header includes the prototype of a function, then it cannot be
used from outside the translation unit it was defined in. In that case,
it should be marked as `static`, in order to avoid possible ODR
problems, unnecessary exported symbols, and allow the compiler to better
optimize those.

If this warning triggers in a function defined in a header, `inline`
needs to be added, otherwise if the header is included in more than one
TU, it will fail to link with a duplicate definition error.

The reason this diff got so big is that Lagom-only code wasn't built
with this flag even in Serenity times.
2024-07-17 21:51:29 +02:00
..
Application Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
System Ladybird: Implement an AppKit chrome for macOS :^) 2023-08-22 21:36:19 -04:00
UI UI/AppKit: Port --allow-popups option from Qt chrome 2024-07-10 11:03:47 -06:00
Utilities Ladybird/AppKit: Implement the <input type=file> UI 2024-02-26 14:18:49 +01:00
CMakeLists.txt CMake: Move ladybird target creation to UI-specific CMakeLists 2024-06-05 13:56:46 -04:00
main.mm UI/AppKit: Port --force-new-process option from Qt chrome 2024-07-10 11:03:47 -06:00