mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-19 05:02:54 -05:00
Sprinkle in some static to prevent missing prototype warnings.
This commit is contained in:
parent
d104727c91
commit
9fb65e2b9e
1 changed files with 3 additions and 3 deletions
|
|
@ -2248,7 +2248,7 @@ http_chunked_segment(struct comm_point* c)
|
|||
|
||||
#ifdef HAVE_NGHTTP2
|
||||
/** Create new http2 session. Called when creating handling comm point. */
|
||||
struct http2_session* http2_session_create(struct comm_point* c)
|
||||
static struct http2_session* http2_session_create(struct comm_point* c)
|
||||
{
|
||||
struct http2_session* session = calloc(1, sizeof(*session));
|
||||
if(!session) {
|
||||
|
|
@ -2262,7 +2262,7 @@ struct http2_session* http2_session_create(struct comm_point* c)
|
|||
#endif
|
||||
|
||||
/** Delete http2 session. After closing connection or on error */
|
||||
void http2_session_delete(struct http2_session* h2_session)
|
||||
static void http2_session_delete(struct http2_session* h2_session)
|
||||
{
|
||||
#ifdef HAVE_NGHTTP2
|
||||
if(h2_session->callbacks)
|
||||
|
|
@ -2338,7 +2338,7 @@ void http2_session_add_stream(struct http2_session* h2_session,
|
|||
|
||||
/** remove stream from session linked list. After stream close callback or
|
||||
* closing connection */
|
||||
void http2_session_remove_stream(struct http2_session* h2_session,
|
||||
static void http2_session_remove_stream(struct http2_session* h2_session,
|
||||
struct http2_stream* h2_stream)
|
||||
{
|
||||
if(h2_stream->prev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue