From c405a7d93341d2c13167e8ab834c68f7b035a8bb Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Sat, 20 Jun 2020 10:56:23 +0200 Subject: Some callback naming consistency --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 4e43e7b..0c28e0a 100644 --- a/config.h +++ b/config.h @@ -18,7 +18,7 @@ enum cfg_value_type { struct dns_async; -typedef void (dns_callback_t)(struct dns_async *); +typedef void (dns_cb_t)(struct dns_async *); struct dns_async { char name[FQDN_STR_LEN + 1]; @@ -26,7 +26,7 @@ struct dns_async { struct addrinfo req; struct gaicb gcb; struct sigevent sev; - dns_callback_t *callback; + dns_cb_t *cb; void *priv; struct list_head list; }; -- cgit v1.2.3