From: Sitsofe Wheeler Date: Wed, 28 Mar 2018 15:09:22 +0000 (+0100) Subject: Minor style changes X-Git-Tag: fio-3.6~20^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=09c81e1396279c9d6c1b55ff5621588966818c67;p=fio.git 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 --- 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) {