summaryrefslogtreecommitdiff
path: root/atari/misc.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2011-01-30 22:23:00 +0000
committerOle Loots <ole@monochrom.net>2011-01-30 22:23:00 +0000
commit3d1c069186142e6d0caf7e0fd132ffd8b840d2f5 (patch)
tree94d0ff86406eafc8f3a4410de28c5d957de17eea /atari/misc.c
parent0d006f4cc6104bfec239c365437cc077da7e76a5 (diff)
downloadnetsurf-3d1c069186142e6d0caf7e0fd132ffd8b840d2f5.tar.gz
netsurf-3d1c069186142e6d0caf7e0fd132ffd8b840d2f5.tar.bz2
Cleanup of TOS compatibility fixes.
svn path=/trunk/netsurf/; revision=11549
Diffstat (limited to 'atari/misc.c')
-rwxr-xr-xatari/misc.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/atari/misc.c b/atari/misc.c
index 5bfdd7f59..f37c1fec8 100755
--- a/atari/misc.c
+++ b/atari/misc.c
@@ -36,35 +36,6 @@
#include "atari/misc.h"
extern void * h_gem_rsrc;
-unsigned short gdosversion;
-
-void init_os_info(void)
-{
- gdosversion = Sversion();
-}
-
-int tos_getcookie(long tag, long * value)
-{
- COOKIE * cptr;
- long oldsp;
-
- if( gdosversion > TOS4VER ){
- return( Getcookie(tag, value) );
- }
-
- cptr = (COOKIE*)Setexc(0x0168, -1L);
- if(cptr != NULL) {
- do {
- if( cptr->c == tag ){
- if(cptr->v != NULL ){
- *value = cptr->v;
- return( C_FOUND );
- }
- }
- } while( (cptr++)->c != 0L );
- }
- return( C_NOTFOUND );
-}
void warn_user(const char *warning, const char *detail)
{