* Base use of sco-core on host, not target.
[deliverable/binutils-gdb.git] / bfd / hosts / amix.h
index 8481e94644adb79b97db0d7a81062d2c9bf3f78b..16d2bfe8bea0a37426e26460fae8ffac4e7313b2 100644 (file)
@@ -1,4 +1,5 @@
 /* Amiga Unix host system */
+#include <ansidecl.h>
 #include <fcntl.h>
 #include <errno.h>
 #include <stdio.h>
 #define SEEK_CUR 1
 
 #define POSIX_UTIME
+#define HAVE_PROCFS    /* This host has /proc support */
 
-extern PROTO(int,  abort,(void));
-extern PROTO(int,  close,(int));
-extern PROTO(void, exit,(int));
-extern PROTO(int,  fclose,(FILE*));
-extern PROTO(void, 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));
+extern void    abort   PARAMS ((void));
+extern int     close   PARAMS ((int));
+extern void    exit    PARAMS ((int));
+extern int     fclose  PARAMS ((FILE*));
+extern void    free    PARAMS ((PTR));
+extern int     fseek   PARAMS ((FILE*, long, int));
+extern int     getgid  PARAMS (());
+extern int     getuid  PARAMS (());
+extern PTR     malloc  PARAMS ((unsigned));
+extern void    perror  PARAMS ((CONST char *));
+extern int     qsort   PARAMS ((void *data, int els, int siz, int func()));
+extern PTR     realloc PARAMS ((PTR, unsigned));
 
 extern char *getenv();
 extern int chmod();
@@ -45,18 +47,4 @@ extern long atol();
 extern int fputc();
 extern int unlink();
 
-/* EXACT TYPES */
-typedef char int8e_type;
-typedef unsigned char uint8e_type;
-typedef short int16e_type;
-typedef unsigned short uint16e_type;
-typedef int int32e_type;
-typedef unsigned int uint32e_type;
-
-/* CORRECT SIZE OR GREATER */
-typedef char int8_type;
-typedef unsigned char uint8_type;
-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.026343 seconds and 4 git commands to generate.