osi: Apply clang-format
cd osi/
clang-format -i --style=file include/*.h include/socket_utils/* src/*.cc \
src/socket_utils/* src/protos/* test/*
Test: mma -j32
Change-Id: I659e586076f1e2ec8f687cd33f441700b8d1f823
diff --git a/osi/src/time.cc b/osi/src/time.cc
index c432a28..a36d411 100644
--- a/osi/src/time.cc
+++ b/osi/src/time.cc
@@ -23,7 +23,7 @@
#include "osi/include/time.h"
uint32_t time_get_os_boottime_ms(void) {
- return (uint32_t) (time_get_os_boottime_us() / 1000);
+ return (uint32_t)(time_get_os_boottime_us() / 1000);
}
uint64_t time_get_os_boottime_us(void) {
@@ -31,5 +31,5 @@
clock_gettime(CLOCK_BOOTTIME, &ts_now);
return ((uint64_t)ts_now.tv_sec * 1000000L) +
- ((uint64_t)ts_now.tv_nsec / 1000);
+ ((uint64_t)ts_now.tv_nsec / 1000);
}