summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-12-28 13:49:26 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-12-28 13:49:26 +0000
commitc059f24cfa7ee7d86c9b7121b6406eca468e35a7 (patch)
treed1561f9ba82d64be0f26a0db7004874abb8055ff /amiga
parent59f551171c648d935154ab5a26be97b73c51e771 (diff)
downloadnetsurf-c059f24cfa7ee7d86c9b7121b6406eca468e35a7.tar.gz
netsurf-c059f24cfa7ee7d86c9b7121b6406eca468e35a7.tar.bz2
Update for new SDK
svn path=/trunk/netsurf/; revision=5942
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/compat.c4
-rwxr-xr-xamiga/compat.h22
2 files changed, 4 insertions, 22 deletions
diff --git a/amiga/compat.c b/amiga/compat.c
index c87f5ba0d..6a53a3d15 100755
--- a/amiga/compat.c
+++ b/amiga/compat.c
@@ -49,7 +49,7 @@ void jpeg_destroy_compress(void)
{
/* dummy */
}
-
+/*
int uname(struct utsname *uts)
{
struct Library *VersionBase;
@@ -75,7 +75,7 @@ int uname(struct utsname *uts)
strcpy(uts->machine,"ppc");
}
-
+*/
uid_t geteuid(void)
{
return 0;
diff --git a/amiga/compat.h b/amiga/compat.h
index c0064e11e..e8fa4a54b 100755
--- a/amiga/compat.h
+++ b/amiga/compat.h
@@ -18,29 +18,12 @@
#ifndef AMIGA_COMPAT_H
#define AMIGA_COMPAT_H
-//#include <sys/unistd.h>
#include <sys/utsname.h>
/* for termios.h compatiblity */
-typedef unsigned int tcflag_t;
-typedef unsigned char cc_t;
-typedef unsigned int speed_t;
-
-#define NCCS 16
-
struct termios {
- tcflag_t c_iflag;
- tcflag_t c_oflag;
- tcflag_t c_cflag;
- tcflag_t c_lflag;
- cc_t c_cc[NCCS];
- /* Private */
- speed_t c_ispeed;
- speed_t c_ospeed;
- int type;
- unsigned int flags;
+ /* dummy */
};
-/**/
extern gid_t getegid(void);
extern uid_t geteuid(void);
@@ -49,7 +32,6 @@ extern gid_t getgid(void);
extern int tcsetattr(int fildes, int optional_actions, const struct termios *termios_p);
extern int tcgetattr(int fildes, struct termios *termios_p);
-//char *strndup(const char *,size_t);
extern int strcasecmp(const char *, const char *);
-extern int uname(struct utsname *);
+//extern int uname(struct utsname *);
#endif