Android: Write prototypes to satisfy compiler

This commit is contained in:
Olekoop 2024-08-07 20:55:27 +02:00 committed by Andrew Kaster
parent 8fe2c9e43d
commit 7cee53fad6
Notes: github-actions[bot] 2024-09-03 06:19:17 +00:00
7 changed files with 50 additions and 1 deletions

View file

@ -5,6 +5,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "LadybirdServiceBase.h"
#include <AK/LexicalPath.h>
#include <AK/OwnPtr.h>
#include <Ladybird/Utilities.h>
@ -20,7 +21,7 @@
#include <RequestServer/HttpsProtocol.h>
// FIXME: Share b/w RequestServer and WebSocket
ErrorOr<ByteString> find_certificates(StringView serenity_resource_root)
static ErrorOr<ByteString> find_certificates(StringView serenity_resource_root)
{
auto cert_path = ByteString::formatted("{}/res/ladybird/cacert.pem", serenity_resource_root);
if (!FileSystem::exists(cert_path))