[warnings] Fixed missing-prototypes warnings

This commit is contained in:
Armin Novak 2023-03-06 09:11:47 +01:00 committed by Martin Fleisz
parent 2eeb5d718a
commit 77943d4329
2 changed files with 4 additions and 4 deletions

View File

@ -94,7 +94,7 @@ struct wlf_clipboard
wQueue* request_queue;
};
void wlf_request_free(void* rq)
static void wlf_request_free(void* rq)
{
wlf_request* request = rq;
if (request)
@ -106,12 +106,12 @@ void wlf_request_free(void* rq)
free(request);
}
wlf_request* wlf_request_new(void)
static wlf_request* wlf_request_new(void)
{
return calloc(1, sizeof(wlf_request));
}
wlf_request* wlf_request_clone(const wlf_request* other)
static wlf_request* wlf_request_clone(const wlf_request* other)
{
wlf_request* copy = wlf_request_new();
if (!copy)

View File

@ -581,7 +581,7 @@ out_free_issuer:
free(subject);
}
BYTE* x509_utils_get_pem(const X509* xcert, const STACK_OF(X509) * chain, size_t* plength)
static BYTE* x509_utils_get_pem(const X509* xcert, const STACK_OF(X509) * chain, size_t* plength)
{
BIO* bio;
int status, count, x;