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 #include /* 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