build: avoid some compiler warnings
authorEric Blake <ebb9@byu.net>
Thu, 20 Aug 2009 14:21:46 +0000 (08:21 -0600)
committerEric Blake <ebb9@byu.net>
Thu, 20 Aug 2009 14:22:30 +0000 (08:22 -0600)
commitbab00aef25c236cd0b910fa70465854d94cdbf0e
tree51547eec4a94972bcf6841c0d48d3670a4dab21f
parent23d025fefa14a3815f8b804725acfd5622d3a4ac
build: avoid some compiler warnings

* lib/selinux-at.h: Use dir_fd, not dirfd, to avoid shadowing.
* lib/exclude.c (fnmatch_pattern_has_wildcards): Use correct
type.
(new_exclude_segment, excluded_file_pattern_p)
(excluded_file_name_p): Reduce scope.
* lib/vasnprintf.c (decimal_point_char): Avoid warning on
old-style declaration.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/exclude.c
lib/selinux-at.h
lib/vasnprintf.c