* hosts/std-host.h (struct int64e_struct): Remove needless typedef
[deliverable/binutils-gdb.git] / bfd / hosts / amix.h
index 30a0cf1ac02a253963bef67d4a7fd89a77a7adfc..ed0a1db741813607ca745b1bf28a4a95ecfe2698 100644 (file)
@@ -1,11 +1,11 @@
-/* Not sure why this is needed -- Fred Fish put it in */
-#define USG
+/* Amiga Unix host system */
 
 #include <fcntl.h>
 #include <errno.h>
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <utime.h>
 #include <ctype.h>
 #include <string.h>
 #include <sys/file.h>
 #define SEEK_SET 0
 #define SEEK_CUR 1
 
-extern PROTO(int,  abort,(void));
-extern PROTO(int,  close,(int));
-extern PROTO(void, exit,(int));
-extern PROTO(int,  fclose,(FILE*));
-extern PROTO(int,  free,(PTR));
-extern PROTO(int,  fseek,(FILE*, long, int));
-extern PROTO(int,  getgid,());
-extern PROTO(int,  getuid,());
-extern PROTO(PTR,  malloc,(unsigned));
-extern PROTO(void, perror,(CONST char *));
-extern PROTO(int,  qsort,(void *data,int els, int siz, int func()));
-extern PROTO(PTR,  realloc, (PTR, unsigned));
+#define POSIX_UTIME
+#define HAVE_PROCFS    /* This host has /proc support */
+
+extern void EXFUN( abort,(void));
+extern int EXFUN(  close,(int));
+extern void EXFUN( exit,(int));
+extern int EXFUN(  fclose,(FILE*));
+extern void EXFUN( free,(PTR));
+extern int EXFUN(  fseek,(FILE*, long, int));
+extern int EXFUN(  getgid,());
+extern int EXFUN(  getuid,());
+extern PTR EXFUN(  malloc,(unsigned));
+extern void EXFUN( perror,(CONST char *));
+extern int EXFUN(  qsort,(void *data,int els, int siz, int func()));
+extern PTR EXFUN(  realloc, (PTR, unsigned));
 
 extern char *getenv();
 extern int chmod();
@@ -59,3 +62,5 @@ typedef short int16_type;
 typedef unsigned short uint16_type;
 typedef int int32_type;
 typedef unsigned int uint32_type;
+
+#include "fopen-same.h"
This page took 0.024569 seconds and 4 git commands to generate.