]> git.ipfire.org Git - thirdparty/libvirt.git/commit
logging.c: Properly indent and ignore one syntax-check rule
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 2 Nov 2012 10:07:54 +0000 (11:07 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 2 Nov 2012 10:19:04 +0000 (11:19 +0100)
commit30b398d5ef8ee0d668cf0c17aa232a78f8046d5b
treeb5c6daaf6805a4ce868c2081df6c8a330392acf2
parent1851a0c8640f0b42e20a2ccfd5cdb9a9409517ec
logging.c: Properly indent and ignore one syntax-check rule

With our fix of mkostemp (pushed as 2b435c15) we define a macro
to compile with uclibc. However, this definition is conditional
and thus needs to be properly indented. Moreover, with this definition
sc_prohibit_mkstemp syntax-check rule keeps yelling:

  src/util/logging.c:63:# define mkostemp(x,y) mkstemp(x)
  maint.mk: use mkostemp with O_CLOEXEC instead of mkstemp

Therefore we should ignore this file for this rule.
cfg.mk
src/util/logging.c