mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-05 18:44:25 +03:00
Update for new SDK
svn path=/trunk/netsurf/; revision=5942
This commit is contained in:
parent
59f551171c
commit
c059f24cfa
@ -49,7 +49,7 @@ void jpeg_destroy_compress(void)
|
|||||||
{
|
{
|
||||||
/* dummy */
|
/* dummy */
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
int uname(struct utsname *uts)
|
int uname(struct utsname *uts)
|
||||||
{
|
{
|
||||||
struct Library *VersionBase;
|
struct Library *VersionBase;
|
||||||
@ -75,7 +75,7 @@ int uname(struct utsname *uts)
|
|||||||
strcpy(uts->machine,"ppc");
|
strcpy(uts->machine,"ppc");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
uid_t geteuid(void)
|
uid_t geteuid(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -18,29 +18,12 @@
|
|||||||
|
|
||||||
#ifndef AMIGA_COMPAT_H
|
#ifndef AMIGA_COMPAT_H
|
||||||
#define AMIGA_COMPAT_H
|
#define AMIGA_COMPAT_H
|
||||||
//#include <sys/unistd.h>
|
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
|
|
||||||
/* for termios.h compatiblity */
|
/* for termios.h compatiblity */
|
||||||
typedef unsigned int tcflag_t;
|
|
||||||
typedef unsigned char cc_t;
|
|
||||||
typedef unsigned int speed_t;
|
|
||||||
|
|
||||||
#define NCCS 16
|
|
||||||
|
|
||||||
struct termios {
|
struct termios {
|
||||||
tcflag_t c_iflag;
|
/* dummy */
|
||||||
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;
|
|
||||||
};
|
};
|
||||||
/**/
|
|
||||||
|
|
||||||
extern gid_t getegid(void);
|
extern gid_t getegid(void);
|
||||||
extern uid_t geteuid(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 tcsetattr(int fildes, int optional_actions, const struct termios *termios_p);
|
||||||
extern int tcgetattr(int fildes, 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 strcasecmp(const char *, const char *);
|
||||||
extern int uname(struct utsname *);
|
//extern int uname(struct utsname *);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user