* hosts/alphaosf.h (uint64e_type, uint64_type, int64_type): Delete typedefs,
[platform/upstream/binutils.git] / bfd / hosts / sysv4.h
1 /* System V Release 4 Unix host system */
2
3 #include <stddef.h>
4 #include <ansidecl.h>
5 #include <fcntl.h>
6 #include <errno.h>
7 #include <stdio.h>
8 #include <sys/types.h>
9 #include <sys/stat.h>
10 #include <utime.h>
11 #include <ctype.h>
12 #include <string.h>
13 #include <sys/file.h>
14
15 #ifndef O_ACCMODE
16 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
17 #endif
18 #define SEEK_SET 0
19 #define SEEK_CUR 1
20
21 #define POSIX_UTIME
22 #define HAVE_PROCFS     /* This host has /proc support */
23
24 extern void     abort   PARAMS ((void));
25 extern int      close   PARAMS ((int));
26 extern void     exit    PARAMS ((int));
27 extern int      fclose  PARAMS ((FILE*));
28 extern void     free    PARAMS ((PTR));
29 extern int      fseek   PARAMS ((FILE*, long, int));
30 extern int      getgid  PARAMS (());
31 extern int      getuid  PARAMS (());
32 extern PTR      malloc  PARAMS ((unsigned));
33 extern void     perror  PARAMS ((CONST char *));
34 extern int      qsort   PARAMS ((void *data, int els, int siz, int func()));
35 extern PTR      realloc PARAMS ((PTR, unsigned));
36
37 extern char *getenv();
38 extern int chmod();
39 extern int fstat();
40 extern int stat();
41 extern int strtol();
42
43 extern char *ctime();
44 extern int _flsbuf();
45 extern int fclose();
46 extern int utimes();
47 extern int vfprintf();
48 extern long atol();
49 extern int fputc();
50 extern int unlink();
51
52 #include "fopen-same.h"