Declare save_connection_destination() static
authorFabian Keil <fk@fabiankeil.de>
Mon, 15 Feb 2021 15:42:26 +0000 (16:42 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sun, 21 Feb 2021 15:09:21 +0000 (16:09 +0100)
jcc.c

diff --git a/jcc.c b/jcc.c
index 1e8ad44..bb6a8fa 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -1153,10 +1153,10 @@ static void wait_for_alive_connections(void)
  * Returns     : void
  *
  *********************************************************************/
-void save_connection_destination(jb_socket sfd,
-                                 const struct http_request *http,
-                                 const struct forward_spec *fwd,
-                                 struct reusable_connection *server_connection)
+static void save_connection_destination(jb_socket sfd,
+                                        const struct http_request *http,
+                                        const struct forward_spec *fwd,
+                                        struct reusable_connection *server_connection)
 {
    assert(sfd != JB_INVALID_SOCKET);
    assert(NULL != http->host);