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:
jshepher 2004-12-04 00:49:38 +00:00
parent ec19111de3
commit a99f123db5
11 changed files with 17 additions and 15 deletions

View File

@ -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)
{

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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>

View File

@ -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 *);

View File

@ -1,6 +1,6 @@
#include <sys/time.h>
#include <dos/dos.h>
#include <proto/dos.h>
#include <sys/time.h>
extern long __gmtoffset;

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);