Mesa (master): gallium/os: minor whitespace fixes in os_time.h

Brian Paul brianp at kemper.freedesktop.org
Tue Jul 7 18:37:52 UTC 2015


Module: Mesa
Branch: master
Commit: f025aec906fce0f2918b6f4acb15548dc957ba67
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f025aec906fce0f2918b6f4acb15548dc957ba67

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jul  6 15:28:59 2015 -0600

gallium/os: minor whitespace fixes in os_time.h

Trivial.

---

 src/gallium/auxiliary/os/os_time.h |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/gallium/auxiliary/os/os_time.h b/src/gallium/auxiliary/os/os_time.h
index 21979a7..e786ee1 100644
--- a/src/gallium/auxiliary/os/os_time.h
+++ b/src/gallium/auxiliary/os/os_time.h
@@ -45,7 +45,7 @@
 #include "pipe/p_compiler.h"
 
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
@@ -61,8 +61,9 @@ os_time_get_nano(void);
  * Get the current time in microseconds from an unknown base.
  */
 static INLINE int64_t
-os_time_get(void) {
-    return os_time_get_nano() / 1000;
+os_time_get(void)
+{
+   return os_time_get_nano() / 1000;
 }
 
 
@@ -87,7 +88,7 @@ os_time_timeout(int64_t start,
                 int64_t end,
                 int64_t curr)
 {
-   if(start <= end)
+   if (start <= end)
       return !(start <= curr && curr < end);
    else
       return !((start <= curr) || (curr < end));
@@ -131,7 +132,7 @@ os_wait_until_zero(volatile int *var, uint64_t timeout);
 bool
 os_wait_until_zero_abs_timeout(volatile int *var, int64_t timeout);
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 }
 #endif
 




More information about the mesa-commit mailing list