]> git.ipfire.org Git - thirdparty/libvirt.git/commit
syntax-check: Update list of gethostname exceptions
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 9 Mar 2021 14:20:57 +0000 (15:20 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Mar 2021 07:47:27 +0000 (08:47 +0100)
commitbea90390ca4164a05dbe267c4e9d48f2690630c6
tree9ddf6374fdf1be7f7c8f3c3bffcc76a8f8ea3427
parentc2840e90ea9aa86d5e5babd3a9418cb075e50c6d
syntax-check: Update list of gethostname exceptions

The only place where gethostname() is acceptable is in
virGetHostnameImpl() which lives in src/util/virutil.c.
Reflect this in the list of exceptions for the syntax-check rule.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
build-aux/syntax-check.mk