Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing static qualifier to check_client_count #914

Merged
merged 1 commit into from
May 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading