summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-06-10 08:21:40 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-06-10 08:25:29 +0200
commit2ba19119f6421766f32fbddd07816a151f3ce2fa (patch)
tree581c00f78d23b05e0f33b41d08e1104271f7d504 /content
parent4b208e24000f7e449be4c00c0e89ce66b85880f5 (diff)
downloadnetsurf-2ba19119f6421766f32fbddd07816a151f3ce2fa.tar.gz
netsurf-2ba19119f6421766f32fbddd07816a151f3ce2fa.tar.bz2
Move sys_uptime() inside kolibrios dir
Diffstat (limited to 'content')
-rw-r--r--content/fetchers/file.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/content/fetchers/file.c b/content/fetchers/file.c
index 1aeb40b5b..f200eee19 100644
--- a/content/fetchers/file.c
+++ b/content/fetchers/file.c
@@ -43,20 +43,6 @@
#include <sys/mman.h>
#endif
-#ifdef _TARGET_IS_KOLIBRIOS
-static inline uint32_t sys_uptime(void)
-{
- uint32_t uptime;
-
- __asm__ __volatile__(
- "int $0x40 \n\t"
- :"=a"(uptime)
- :"a"(26),"b"(9));
-
- return uptime / 100;
-}
-#endif
-
#include <libwapcaplet/libwapcaplet.h>
#include "netsurf/inttypes.h"