mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
Android: Write prototypes to satisfy compiler
This commit is contained in:
parent
8fe2c9e43d
commit
7cee53fad6
Notes:
github-actions[bot]
2024-09-03 06:19:17 +00:00
Author: https://github.com/Olekoop
Commit: 7cee53fad6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1006
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
7 changed files with 50 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue