aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lalancette <clalance@redhat.com>2009-10-23 12:13:20 +0200
committerChris Lalancette <clalance@redhat.com>2009-10-26 10:34:27 +0100
commitd27098c0549f856cc44ea20ce2c31d6b89a28946 (patch)
tree4c624ed8ef1731cf2564e94ec71ad6bfaf447906 /Makefile.am
parentVarious syntax-check fixes. (diff)
downloadlibvirt-d27098c0549f856cc44ea20ce2c31d6b89a28946.tar.gz
libvirt-d27098c0549f856cc44ea20ce2c31d6b89a28946.tar.bz2
libvirt-d27098c0549f856cc44ea20ce2c31d6b89a28946.zip
Add a new syntax-check rule for gethostname.
We should always be using virGetHostname in place of gethostname; thus add in a new syntax-check rule to make sure no new uses creep in. Signed-off-by: Chris Lalancette <clalance@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 14fc593c8..32cd96a0f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,6 +23,7 @@ EXTRA_DIST = \
.x-sc_m4_quote_check \
.x-sc_prohibit_asprintf \
.x-sc_prohibit_gethostby \
+ .x-sc_prohibit_gethostname \
.x-sc_prohibit_have_config_h \
.x-sc_prohibit_HAVE_MBRTOWC \
.x-sc_prohibit_nonreentrant \