projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b40762c
)
Removed unused function
author
Armin Novak
<armin.novak@thincast.com>
Tue, 10 Mar 2020 12:35:45 +0000
(13:35 +0100)
committer
akallabeth
<akallabeth@users.noreply.github.com>
Tue, 10 Mar 2020 13:04:53 +0000
(14:04 +0100)
winpr/libwinpr/synch/timer.c
patch
|
blob
|
history
diff --git
a/winpr/libwinpr/synch/timer.c
b/winpr/libwinpr/synch/timer.c
index
d781a98
..
b1e2f8b
100644
(file)
--- a/
winpr/libwinpr/synch/timer.c
+++ b/
winpr/libwinpr/synch/timer.c
@@
-604,14
+604,6
@@
static void timespec_add_ms(struct timespec* tspec, UINT32 ms)
tspec->tv_nsec = (ns % 1000000000);
}
-static UINT64 timespec_to_ms(struct timespec* tspec)
-{
- UINT64 ms;
- ms = tspec->tv_sec * 1000;
- ms += tspec->tv_nsec / 1000000;
- return ms;
-}
-
static void timespec_gettimeofday(struct timespec* tspec)
{
struct timeval tval;