[warnings] Fixed missing-prototypes warnings
This commit is contained in:
parent
2eeb5d718a
commit
77943d4329
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user