Fixed missing function warnings.
Moved headers around so we include <devices/timer.h> before <sys/time.h> (so we don't have to patch the OS headers)
This commit is contained in:
parent
ec19111de3
commit
a99f123db5
|
@ -1,6 +1,6 @@
|
|||
#include <dos/dosextens.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dos/dosextens.h>
|
||||
|
||||
int __stat(struct stat *buf,struct FileInfoBlock *fib)
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <dos/dos.h>
|
||||
#include <proto/dos.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
extern void __seterrno(void);
|
||||
extern char *__amigapath(const char *path);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <proto/dos.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <proto/dos.h>
|
||||
#include "stabs.h"
|
||||
|
||||
extern void __seterrno(void);
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#include <dos/dosextens.h>
|
||||
#include <proto/dos.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dos/dosextens.h>
|
||||
#include <proto/dos.h>
|
||||
|
||||
extern void __seterrno(void);
|
||||
extern char *__amigapath(const char *path);
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dos/dosextens.h>
|
||||
#include <proto/dos.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <strsup.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include <strsup.h>
|
||||
#include <errno.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/times.h>
|
||||
#include <string.h>
|
||||
#include <strsup.h>
|
||||
#include "stabs.h"
|
||||
|
||||
extern void timer(long *);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <sys/time.h>
|
||||
#include <dos/dos.h>
|
||||
#include <proto/dos.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
extern long __gmtoffset;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <proto/dos.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <proto/dos.h>
|
||||
#include "stabs.h"
|
||||
|
||||
extern void __seterrno(void);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <proto/exec.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <proto/exec.h>
|
||||
|
||||
char *mktemp(char *buf)
|
||||
{ long pid = (long)FindTask(0L);
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dos/dosextens.h>
|
||||
#include <proto/dos.h>
|
||||
#include <proto/exec.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include "stabs.h"
|
||||
|
||||
extern int __stat(struct stat *buf,struct FileInfoBlock *fib);
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include <proto/exec.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <proto/exec.h>
|
||||
|
||||
FILE *fdopen(int filedes,const char *mode)
|
||||
{ extern int _lx_addflags(int,int);
|
||||
|
|
Loading…
Reference in New Issue