Skip to content

Commit

Permalink
Add missing static qualifier to check_client_count
Browse files Browse the repository at this point in the history
  • Loading branch information
mohd-akram authored and sthibaul committed May 9, 2024
1 parent f0bd264 commit 8bb9788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/speechd.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static gboolean client_process_incoming (gint fd,
GIOCondition condition,
gpointer data);

void check_client_count(void);
static void check_client_count(void);

#ifndef HAVE_DAEMON
/* Added by Willie Walker - daemon is a common, but not universal, extension.
Expand Down Expand Up @@ -1081,7 +1081,7 @@ gboolean client_process_incoming (gint fd,
return TRUE;
}

void check_client_count(void)
static void check_client_count(void)
{
if (client_count <= 0
&& SpeechdOptions.server_timeout > 0) {
Expand Down

0 comments on commit 8bb9788

Please sign in to comment.