From df0fb6caf5a1cd9f1d527b48ddf4c019771e963c Mon Sep 17 00:00:00 2001
From: Pavel Cherenkov <pcherenkov@gmail.com>
Date: Mon, 30 Jan 2012 17:42:45 +0400
Subject: [PATCH] more stylistic corrections added

---
 core/cpu_feature.m | 12 +++++++-----
 core/log_io.m      |  2 +-
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/core/cpu_feature.m b/core/cpu_feature.m
index 092bc3463d..b50db25ded 100644
--- a/core/cpu_feature.m
+++ b/core/cpu_feature.m
@@ -121,8 +121,10 @@ toggle_x86_flags(long mask, long* orig, long* toggled)
 	);
 #endif
 
-	if (orig)	*orig = forig;
-	if (toggled) 	*toggled = fres;
+	if (orig)
+		*orig = forig;
+	if (toggled)
+		*toggled = fres;
 	return;
 }
 
@@ -160,7 +162,7 @@ can_cpuid()
 
 /* Retrieve CPUID data using info as the EAX key. */
 static void
-get_cpuid (long info, long* eax, long* ebx, long* ecx, long *edx)
+get_cpuid(long info, long* eax, long* ebx, long* ecx, long *edx)
 {
 	*eax = info;
 
@@ -185,7 +187,7 @@ get_cpuid (long info, long* eax, long* ebx, long* ecx, long *edx)
 
 /* Check whether CPU has a certain feature. */
 int
-cpu_has (unsigned int feature)
+cpu_has(unsigned int feature)
 {
 	long info = 1, reg[4] = {0,0,0,0};
 
@@ -210,7 +212,7 @@ crc32c_hw(u_int32_t crc, const unsigned char *buf, unsigned int len)
 #else /* other (yet unsupported architectures) */
 
 int
-cpu_has (unsigned int feature)
+cpu_has(unsigned int feature)
 {
 	(void)feature;
 	return EINVAL;
diff --git a/core/log_io.m b/core/log_io.m
index 6d9d89d0cd..97e2ff6d67 100644
--- a/core/log_io.m
+++ b/core/log_io.m
@@ -76,7 +76,7 @@ static u_int32_t (*calc_crc32c)(u_int32_t crc, const unsigned char *buf,
 		unsigned int len) = NULL;
 
 void
-mach_setup_crc32 ()
+mach_setup_crc32()
 {
 #if defined (__i386__) || defined (__x86_64__)
 	calc_crc32c = cpu_has (cpuf_sse4_2) ? &crc32c_hw : &crc32c;
-- 
GitLab