summaryrefslogtreecommitdiff
path: root/utils/utils.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-21 14:34:36 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-21 14:34:36 +0100
commit3488e337b64f7444f3021ca98f391d4ded3326e4 (patch)
tree277ba138314410eb2902b7ea9fabd2eb87432d3a /utils/utils.c
parent6560384a2c02370f2c649dbb718c3b97f87918d0 (diff)
downloadnetsurf-3488e337b64f7444f3021ca98f391d4ded3326e4.tar.gz
netsurf-3488e337b64f7444f3021ca98f391d4ded3326e4.tar.bz2
remove unused wallclock API
Diffstat (limited to 'utils/utils.c')
-rw-r--r--utils/utils.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/utils/utils.c b/utils/utils.c
index cde3fa306..2a41c8a4c 100644
--- a/utils/utils.c
+++ b/utils/utils.c
@@ -265,17 +265,6 @@ const char *rfc1123_date(time_t t)
}
-/* exported interface documented in utils/utils.h */
-unsigned int wallclock(void)
-{
- struct timeval tv;
-
- if (gettimeofday(&tv, NULL) == -1)
- return 0;
-
- return ((tv.tv_sec * 100) + (tv.tv_usec / 10000));
-}
-
#ifndef HAVE_STRCASESTR
/**