-/* $OpenBSD: resolvd.c,v 1.18 2021/08/30 19:14:30 kn Exp $ */
+/* $OpenBSD: resolvd.c,v 1.19 2021/08/31 09:56:12 deraadt Exp $ */
/*
* Copyright (c) 2021 Florian Obser <florian@openbsd.org>
* Copyright (c) 2021 Theo de Raadt <deraadt@openbsd.org>
int
cmp(const void *a, const void *b)
{
- const struct rdns_proposal *rpa, *rpb;
-
- rpa = a;
- rpb = b;
+ const struct rdns_proposal *rpa = a, *rpb = b;
if (rpa->prio == rpb->prio)
return strcmp(rpa->ip, rpb->ip);