ladybird/Userland/Libraries/LibCore
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
..
Platform LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler 2024-07-01 18:10:56 +02:00
Account.cpp
Account.h
AnonymousBuffer.cpp
AnonymousBuffer.h
ArgsParser.cpp
ArgsParser.h LibCore: Make short_name optional for ArgsParser 2024-04-22 08:10:08 +02:00
CMakeLists.txt Meta: Add vulkan and vulkan-headers to vcpkg dependencies 2024-07-06 01:44:58 +02:00
Command.cpp Userland: Avoid some now-unneeded explicit conversions to Bytes 2024-04-04 11:23:21 +02:00
Command.h
ConfigFile.cpp Userland: Avoid some now-unneeded explicit conversions to Bytes 2024-04-04 11:23:21 +02:00
ConfigFile.h
DateTime.cpp LibCore+LibJS+LibUnicode: Port retrieving time zone offsets to ICU 2024-06-26 10:14:02 +02:00
DateTime.h LibCore: Allow formatting a DateTime in GMT 2024-04-02 07:51:02 +02:00
Debounce.h LibCore: Stop obsessing about tiny OOMs in Core::Timer 2024-04-17 07:16:52 +02:00
DeferredInvocationContext.h Revert "LibCore: Add Core::deferred_invoke_if(F, Condition)" 2024-05-21 23:32:54 +02:00
Directory.cpp
Directory.h
DirectoryEntry.cpp
DirectoryEntry.h
DirIterator.cpp
DirIterator.h
ElapsedTimer.cpp RequestServer: Handle IPC requests on multiple threads concurrently 2024-05-20 08:03:35 +02:00
ElapsedTimer.h RequestServer: Handle IPC requests on multiple threads concurrently 2024-05-20 08:03:35 +02:00
Environment.cpp LibCore: Be more BSD-friendly in Core::Environment 2024-06-06 12:48:58 -06:00
Environment.h
Event.cpp
Event.h
EventLoop.cpp Revert "LibCore: Add Core::deferred_invoke_if(F, Condition)" 2024-05-21 23:32:54 +02:00
EventLoop.h Userland: Add ESCAPING annotations to a bunch of places 2024-05-22 21:55:34 -06:00
EventLoopImplementation.cpp
EventLoopImplementation.h
EventLoopImplementationUnix.cpp LibCore: Don't check for Core::NotificationType::None on Android 2024-07-07 03:43:32 -06:00
EventLoopImplementationUnix.h
EventReceiver.cpp LibCore: Ignore timer events after stop() has been called 2024-03-25 14:16:55 +01:00
EventReceiver.h
File.cpp
File.h
FilePermissionsMask.cpp
FilePermissionsMask.h
FileWatcher.h
FileWatcherLinux.cpp
FileWatcherMacOS.mm
FileWatcherUnimplemented.cpp
Forward.h LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler 2024-07-01 18:10:56 +02:00
GetPassword.cpp
GetPassword.h
Group.cpp
Group.h
IOSurface.cpp LibCore+LibWeb: Use Metal backend for Skia painter on macOS 2024-06-28 14:25:34 +02:00
IOSurface.h LibCore+LibWeb: Use Metal backend for Skia painter on macOS 2024-06-28 14:25:34 +02:00
LocalServer.cpp LibCore: Add initializer for LocalServer from already connected socket 2024-04-27 20:32:12 -04:00
LocalServer.h LibCore: Add initializer for LocalServer from already connected socket 2024-04-27 20:32:12 -04:00
LockFile.cpp
LockFile.h
MachPort.cpp LibCore: Make MachPort build on GNU Mach 2024-05-02 07:46:53 -06:00
MachPort.h LibCore: Add a wrapper for IOSurface 2024-06-24 13:09:08 +02:00
MappedFile.cpp
MappedFile.h
MetalContext.h LibCore+LibWeb: Use Metal backend for Skia painter on macOS 2024-06-28 14:25:34 +02:00
MetalContext.mm LibCore+LibWeb: Use Metal backend for Skia painter on macOS 2024-06-28 14:25:34 +02:00
MimeData.cpp LibGfx: Remove DDS image format support 2024-06-17 21:57:35 +02:00
MimeData.h
NetworkJob.cpp Everywhere: Write dtors for types with incomplete members out-of-line 2024-06-16 07:19:56 -04:00
NetworkJob.h Everywhere: Write dtors for types with incomplete members out-of-line 2024-06-16 07:19:56 -04:00
NetworkResponse.h
Notifier.cpp
Notifier.h LibCore: Make Timers and Notifiers aware of threads 2024-05-20 08:03:35 +02:00
Process.cpp LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler 2024-07-01 18:10:56 +02:00
Process.h LibCore: Include full definition for LocalSocket 2024-07-02 10:27:45 +02:00
ProcessStatisticsReader.cpp Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
ProcessStatisticsReader.h
Promise.h
Proxy.h
Resource.cpp LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
Resource.h LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
ResourceImplementation.cpp LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
ResourceImplementation.h LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
ResourceImplementationFile.cpp LibCore: Add modified time to Resource 2024-04-02 07:51:02 +02:00
ResourceImplementationFile.h
SecretString.cpp
SecretString.h
SessionManagement.cpp Meta: Remove empty LibSystem library and references 2024-06-04 07:45:42 +02:00
SessionManagement.h
SharedCircularQueue.h
Socket.cpp LibCore: Support IPv6 for TCP and UDP connection 2024-07-05 14:26:22 -06:00
Socket.h Revert "LibTLS+Everywhere: Switch to using WolfSSL" 2024-07-06 15:15:34 -06:00
SocketAddress.h LibCore: Support IPv6 for TCP and UDP connection 2024-07-05 14:26:22 -06:00
SOCKSProxyClient.cpp
SOCKSProxyClient.h
StandardPaths.cpp Ladybird+LibCore+Meta: Update font paths and names for Android 2024-07-05 14:27:25 -06:00
StandardPaths.h
System.cpp LibCore: Only include BeepInstruction in System.cpp on Serenity 2024-06-06 12:51:14 -06:00
System.h LibCore: Null-check struct addrinfo to avoid freeaddrinfo(NULL) 2024-06-06 12:48:58 -06:00
SystemServerTakeover.cpp
SystemServerTakeover.h
TCPServer.cpp
TCPServer.h
ThreadedPromise.h
ThreadEventQueue.cpp LibCore: Fix some thread-related memory/object leaks 2024-06-26 05:47:16 +02:00
ThreadEventQueue.h
Timer.cpp LibCore: Stop obsessing about tiny OOMs in Core::Timer 2024-04-17 07:16:52 +02:00
Timer.h LibCore: Stop obsessing about tiny OOMs in Core::Timer 2024-04-17 07:16:52 +02:00
UDPServer.cpp
UDPServer.h
UmaskScope.h
Version.cpp LibCore: Add a small library with only ArgsParser for DynamicLoader 2024-05-14 15:42:42 -06:00
Version.h
VulkanContext.cpp Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
VulkanContext.h LibWeb+LibCore: Use Vulkan backend for Skia on Linux 2024-07-05 07:13:13 +02:00