diff --git a/src/context.c b/src/context.c index 01688105..994a9ac4 100644 --- a/src/context.c +++ b/src/context.c @@ -733,7 +733,7 @@ void _getdns_upstream_log(getdns_upstream *upstream, uint64_t system, va_end(args); } -void +static void upstream_backoff(getdns_upstream *upstream) { upstream->conn_state = GETDNS_CONN_BACKOFF; /* Increase the backoff interval incrementally up to the tls_backoff_time*/ @@ -760,7 +760,7 @@ upstream_backoff(getdns_upstream *upstream) { asctime(gmtime(&upstream->conn_retry_time))); } -void +static void _getdns_upstream_reset(getdns_upstream *upstream) { /* Back off connections that never got up service at all (probably no diff --git a/src/context.h b/src/context.h index 46f000c0..1a6d93a4 100644 --- a/src/context.h +++ b/src/context.h @@ -557,6 +557,4 @@ int _getdns_context_write_priv_file(getdns_context *context, int _getdns_context_can_write_appdata(getdns_context *context); -void _getdns_upstream_reset(getdns_upstream *upstream); - #endif /* _GETDNS_CONTEXT_H_ */