Make upstream_reset static (and not shared between .c files)

This commit is contained in:
Willem Toorop 2017-10-19 12:48:58 +02:00
parent 5ce764ab70
commit f8e1ed78b8
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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_ */