diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2017-12-04 23:23:22 -0800 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2017-12-05 00:19:29 -0800 |
commit | afaab64a3f4c6977d66811cb7235431a085de0b2 (patch) | |
tree | e59fbd4ca9cbb8fcb0649329bc2b3c87b0ed3191 /examples/win32 | |
parent | 67048550b9ac3957fb29b7f9e7bf4b8ee3e9bc73 (diff) | |
download | rabbitmq-c-afaab64a3f4c6977d66811cb7235431a085de0b2.tar.gz |
Format code with clang-format
Diffstat (limited to 'examples/win32')
-rw-r--r-- | examples/win32/platform_utils.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/examples/win32/platform_utils.c b/examples/win32/platform_utils.c index b75c996..49fd377 100644 --- a/examples/win32/platform_utils.c +++ b/examples/win32/platform_utils.c @@ -37,15 +37,11 @@ #include <windows.h> -uint64_t now_microseconds(void) -{ +uint64_t now_microseconds(void) { FILETIME ft; GetSystemTimeAsFileTime(&ft); - return (((uint64_t)ft.dwHighDateTime << 32) | (uint64_t)ft.dwLowDateTime) - / 10; + return (((uint64_t)ft.dwHighDateTime << 32) | (uint64_t)ft.dwLowDateTime) / + 10; } -void microsleep(int usec) -{ - Sleep(usec / 1000); -} +void microsleep(int usec) { Sleep(usec / 1000); } |