@@ -587,7 +587,7 @@ connect_server(const char *host, const char *port, bool tls,
587587 * Stores socket in closure with O_NONBLOCK and close-on-exec flags set.
588588 * Returns true on success, else false.
589589 */
590- bool
590+ static bool
591591log_server_connect (struct client_closure * closure )
592592{
593593 struct sudoers_string * server ;
@@ -736,7 +736,7 @@ get_free_buf(struct client_closure *closure)
736736 * Appends the wire format message to the closure's write queue.
737737 * Returns true on success, false on failure.
738738 */
739- bool
739+ static bool
740740fmt_client_message (struct client_closure * closure , ClientMessage * msg )
741741{
742742 struct connection_buffer * buf ;
@@ -1184,7 +1184,7 @@ fmt_initial_message(struct client_closure *closure)
11841184 * Appends the wire format message to the closure's write queue.
11851185 * Returns true on success, false on failure.
11861186 */
1187- bool
1187+ static bool
11881188fmt_restart_message (struct client_closure * closure )
11891189{
11901190 ClientMessage client_msg = CLIENT_MESSAGE__INIT ;
@@ -1216,7 +1216,7 @@ fmt_restart_message(struct client_closure *closure)
12161216 * Appends the wire format message to the closure's write queue.
12171217 * Returns true on success, false on failure.
12181218 */
1219- bool
1219+ static bool
12201220fmt_exit_message (struct client_closure * closure , int exit_status , int error )
12211221{
12221222 ClientMessage client_msg = CLIENT_MESSAGE__INIT ;
@@ -1460,7 +1460,7 @@ client_message_completion(struct client_closure *closure)
14601460 * We do this synchronously, since we don't want the command to run
14611461 * before the log server connection is completely established.
14621462 */
1463- bool
1463+ static bool
14641464read_server_hello (struct client_closure * closure )
14651465{
14661466 struct sudo_event_base * evbase = NULL ;
0 commit comments