diff options
author | Ashish Gupta <ashmew2@gmail.com> | 2017-06-10 08:21:40 +0200 |
---|---|---|
committer | Ashish Gupta <ashmew2@gmail.com> | 2017-06-10 08:25:29 +0200 |
commit | 2ba19119f6421766f32fbddd07816a151f3ce2fa (patch) | |
tree | 581c00f78d23b05e0f33b41d08e1104271f7d504 /content/fetchers | |
parent | 4b208e24000f7e449be4c00c0e89ce66b85880f5 (diff) | |
download | netsurf-2ba19119f6421766f32fbddd07816a151f3ce2fa.tar.gz netsurf-2ba19119f6421766f32fbddd07816a151f3ce2fa.tar.bz2 |
Move sys_uptime() inside kolibrios dir
Diffstat (limited to 'content/fetchers')
-rw-r--r-- | content/fetchers/file.c | 14 |
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" |