Add -Wall to the CFLAGS used for lustre/{test,utils}/. Fixup missing
includes where needed.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I19d0739e0a9b5b079665d5d24d54c6dcaad93b0c
Reviewed-on: http://review.whamcloud.com/15392
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LC_CONFIG_OBD_BUFFER_SIZE
AS_IF([test $target_cpu == "i686" -o $target_cpu == "x86_64"],
LC_CONFIG_OBD_BUFFER_SIZE
AS_IF([test $target_cpu == "i686" -o $target_cpu == "x86_64"],
- [CFLAGS="$CFLAGS -Werror"])
+ [CFLAGS="$CFLAGS -Wall -Werror"])
# maximum MDS thread count
LC_MDS_MAX_THREADS
# maximum MDS thread count
LC_MDS_MAX_THREADS
#include <grp.h>
#include <sys/ioctl.h>
#include <sys/quota.h>
#include <grp.h>
#include <sys/ioctl.h>
#include <sys/quota.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/types.h>
-#ifdef HAVE_ENDIAN_H
-#include <endian.h>
-#endif
-
+#include <libcfs/byteorder.h>
#include <libcfs/util/string.h>
#include <lustre/libiam.h>
#include <libcfs/util/string.h>
#include <lustre/libiam.h>
#include <dirent.h>
#include <stdarg.h>
#include <sys/stat.h>
#include <dirent.h>
#include <stdarg.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <utime.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <utime.h>
#include <sys/syscall.h>