summaryrefslogtreecommitdiff
path: root/sokol_time.h
diff options
context:
space:
mode:
authorBorislav Stanimirov <b.stanimirov@abv.bg>2018-11-30 01:46:50 +0200
committerBorislav Stanimirov <b.stanimirov@abv.bg>2018-11-30 01:51:11 +0200
commita6a63322a841b3fd4406e70fb56b2b07cea3f417 (patch)
tree1dfee8c375fb844c967b25f7a38b861c44dd517c /sokol_time.h
parent487822d82ca79dba7b67718d962e1ba6beef01b2 (diff)
removed trailing spaces
Diffstat (limited to 'sokol_time.h')
-rw-r--r--sokol_time.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sokol_time.h b/sokol_time.h
index 735ae4ac..cacfb13a 100644
--- a/sokol_time.h
+++ b/sokol_time.h
@@ -4,7 +4,7 @@
Do this:
#define SOKOL_IMPL
- before you include this file in *one* C or C++ file to create the
+ before you include this file in *one* C or C++ file to create the
implementation.
Optionally provide the following defines with your own implementations:
@@ -55,7 +55,7 @@
MacOS/iOS: mach_absolute_time()
emscripten: clock_gettime(CLOCK_MONOTONIC)
Linux+others: clock_gettime(CLOCK_MONITONIC)
-
+
zlib/libpng license
Copyright (c) 2018 Andre Weissflog
@@ -162,7 +162,7 @@ SOKOL_API_IMPL void stm_setup(void) {
#else
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC, &ts);
- _stm_posix_start = (uint64_t)ts.tv_sec*1000000000 + (uint64_t)ts.tv_nsec;
+ _stm_posix_start = (uint64_t)ts.tv_sec*1000000000 + (uint64_t)ts.tv_nsec;
#endif
}