summaryrefslogtreecommitdiff
path: root/amiga/compat.h
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/compat.h
parent59f551171c648d935154ab5a26be97b73c51e771 (diff)
downloadnetsurf-c059f24cfa7ee7d86c9b7121b6406eca468e35a7.tar.gz
netsurf-c059f24cfa7ee7d86c9b7121b6406eca468e35a7.tar.bz2
Update for new SDK
svn path=/trunk/netsurf/; revision=5942
Diffstat (limited to 'amiga/compat.h')
-rwxr-xr-xamiga/compat.h22
1 files changed, 2 insertions, 20 deletions
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