From: Peter Krempa Date: Wed, 30 Aug 2023 10:21:04 +0000 (+0200) Subject: nss: aiforaf: Format one argument/variable per line X-Git-Tag: v9.8.0-rc1~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e861bb23ea438959bc9058e76b6c545b2ffdc0f2;p=thirdparty%2Flibvirt.git nss: aiforaf: Format one argument/variable per line Break up the argument and variable declarations to the preferred style. Signed-off-by: Peter Krempa Reviewed-by: Kristina Hanicova --- diff --git a/tools/nss/libvirt_nss.c b/tools/nss/libvirt_nss.c index b028f28608..cd2b8feb5a 100644 --- a/tools/nss/libvirt_nss.c +++ b/tools/nss/libvirt_nss.c @@ -464,13 +464,19 @@ ns_mtab methods[] = { }; static void -aiforaf(const char *name, int af, struct addrinfo *pai, struct addrinfo **aip) +aiforaf(const char *name, + int af, + struct addrinfo *pai, + struct addrinfo **aip) { int ret; struct hostent resolved; char buf[1024] = { 0 }; - int err, herr; - struct addrinfo hints, *res0, *res; + int err; + int herr; + struct addrinfo hints; + struct addrinfo *res0; + struct addrinfo *res; char **addrList; if ((ret = NSS_NAME(gethostbyname2)(name, af, &resolved,