OSDN Git Service
(root)
/
android-x86
/
hardware-ril.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
e7b199e
)
Merge "Remove makefile cruft."
author
Elliott Hughes
<enh@google.com>
Fri, 9 Jan 2015 23:42:52 +0000
(23:42 +0000)
committer
Gerrit Code Review
<noreply-gerritcodereview@google.com>
Fri, 9 Jan 2015 23:42:52 +0000
(23:42 +0000)
libril/ril_event.cpp
patch
|
blob
|
history
diff --git
a/libril/ril_event.cpp
b/libril/ril_event.cpp
index
9d2954e
..
6bdf59d
100644
(file)
--- a/
libril/ril_event.cpp
+++ b/
libril/ril_event.cpp
@@
-95,14
+95,10
@@
static void dump_event(struct ril_event * ev)
static void getNow(struct timeval * tv)
{
-#ifdef HAVE_POSIX_CLOCKS
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC, &ts);
tv->tv_sec = ts.tv_sec;
tv->tv_usec = ts.tv_nsec/1000;
-#else
- gettimeofday(tv, NULL);
-#endif
}
static void init_list(struct ril_event * list)