summaryrefslogtreecommitdiff
path: root/crc
diff options
context:
space:
mode:
authorSitsofe Wheeler <sitsofe@yahoo.com>2018-03-28 16:09:22 +0100
committerSitsofe Wheeler <sitsofe@yahoo.com>2018-03-30 16:29:59 +0100
commit09c81e1396279c9d6c1b55ff5621588966818c67 (patch)
treebe33cffa782e950d99f222f2c4c5d674f0fcc630 /crc
parent58828d0759642a8d438c94ee96a3e9848f89102a (diff)
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 <sitsofe@yahoo.com>
Diffstat (limited to 'crc')
-rw-r--r--crc/crc32c-intel.c2
-rw-r--r--crc/crc32c.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/crc/crc32c-intel.c b/crc/crc32c-intel.c
index 9a2cefd..6e810a2 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 08755cc..18f1161 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)
{