From 09c81e1396279c9d6c1b55ff5621588966818c67 Mon Sep 17 00:00:00 2001 From: Sitsofe Wheeler Date: Wed, 28 Mar 2018 16:09:22 +0100 Subject: [PATCH] Minor style changes Change some #endif comments to exactly match the starting #ifdef and in crc files and make the second posixaio configure test more descriptive. Signed-off-by: Sitsofe Wheeler --- configure | 2 +- crc/crc32c-intel.c | 2 +- crc/crc32c.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 1d8c7f18..38706a92 100755 --- a/configure +++ b/configure @@ -600,7 +600,7 @@ int main(void) EOF if compile_prog "" "" "posixaio" ; then posix_aio="yes" -elif compile_prog "" "-lrt" "posixaio"; then +elif compile_prog "" "-lrt" "posixaio -lrt"; then posix_aio="yes" posix_aio_lrt="yes" LIBS="-lrt $LIBS" diff --git a/crc/crc32c-intel.c b/crc/crc32c-intel.c index 9a2cefde..6e810a28 100644 --- a/crc/crc32c-intel.c +++ b/crc/crc32c-intel.c @@ -84,4 +84,4 @@ void crc32c_intel_probe(void) } } -#endif /* ARCH_HAVE_SSE */ +#endif /* ARCH_HAVE_SSE4_2 */ diff --git a/crc/crc32c.h b/crc/crc32c.h index 08755cc8..18f1161d 100644 --- a/crc/crc32c.h +++ b/crc/crc32c.h @@ -45,7 +45,7 @@ extern void crc32c_intel_probe(void); static inline void crc32c_intel_probe(void) { } -#endif +#endif /* ARCH_HAVE_SSE4_2 */ static inline uint32_t fio_crc32c(unsigned char const *buf, unsigned long len) { -- 2.25.1