summaryrefslogtreecommitdiff
path: root/content/fetchers/file.c
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-06-10 08:21:40 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-10-25 22:04:55 +0200
commit7ab5be6d84917fb4348b5ec0a3995ca5845e497d (patch)
tree59546c2068a259b5f5dbc4a1ac8623f9704a91fb /content/fetchers/file.c
parent2a6495e8ef0029d2833313034022780660d7004a (diff)
downloadnetsurf-7ab5be6d84917fb4348b5ec0a3995ca5845e497d.tar.gz
netsurf-7ab5be6d84917fb4348b5ec0a3995ca5845e497d.tar.bz2
Move sys_uptime() inside kolibrios dir
Diffstat (limited to 'content/fetchers/file.c')
-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"