Re: [PATCH 2/2] build-sys: check HAVE_ definitions with #ifdef [smatch scan]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 01, 2011 at 11:10:21PM +0100, Sami Kerola wrote:
>  include/blkdev.h       |    2 +-
>  include/md5.h          |    2 +-
>  lib/env.c              |    2 +-
>  lib/ismounted.c        |    2 +-
>  libblkid/src/cache.c   |    2 +-
>  libblkid/src/devname.c |    8 ++++----
>  libblkid/src/devno.c   |   10 +++++-----
>  libblkid/src/llseek.c  |    6 +++---
>  libblkid/src/read.c    |    4 ++--
>  libblkid/src/resolve.c |    2 +-
>  libblkid/src/version.c |    2 +-
>  misc-utils/cal.c       |    2 +-
>  term-utils/script.c    |   10 +++++++---
>  13 files changed, 29 insertions(+), 25 deletions(-)

 Applied, thanks.

>> -#if HAVE_LIBUTIL && HAVE_PTY_H
> +#ifdef HAVE_LIBUTIL
> +# ifdef HAVE_PTY_H

here we can use:

    #if defined(HAVE_LIBUTIL) && defined(HAVE_PTY_H)


 Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux