I'm eliminating the use of USG from binutils/ar.c, and nothing else in
[external/binutils.git] / bfd / hosts / delta88.h
1 #include <errno.h>
2 #include <sys/types.h>
3 #include <unistd.h>
4
5 #include <string.h>
6 #include <fcntl.h>
7 #include <sys/stat.h>
8 #include <time.h>
9 #include <ctype.h>
10
11 #include <stdio.h>
12
13 #define USE_UTIME
14
15 #ifndef DONTDECLARE_MALLOC
16 extern PTR  EXFUN(malloc,(unsigned));
17 extern PTR  EXFUN(realloc, (PTR, unsigned));
18 #endif
19 extern int  EXFUN(abort,(void));
20 extern int  EXFUN(free,(PTR));
21 extern void EXFUN(bcopy,(char*,char*,int));
22 extern void EXFUN(exit,(int));
23 extern int  EXFUN(strtol());
24 extern void EXFUN(bzero,(char *, int));
25 #define NO_STDARG 1
26 extern int  EXFUN(abort,(void));
27 extern int  EXFUN(close,(int));
28 extern int  EXFUN(fcntl,(int des, int cmd, int e));
29 extern int  EXFUN(qsort,(void *data,int els, int siz, int func()));
30 extern int  EXFUN(fseek,(FILE*, int, int));
31 extern int  EXFUN(fclose,(FILE*));
32 extern void EXFUN(bcopy,(char*,char*,int));
33 extern int  EXFUN(bcmp,(char *, char *, int));
34 extern void EXFUN(bzero,(char *, int));
35 extern void EXFUN(perror,(CONST char *));
36 extern PTR  EXFUN(memchr,(const void *, int, unsigned ));
37 extern unsigned short EXFUN(getuid,(void));
38 extern unsigned short EXFUN(getgid,(void));
39
40 extern char * strchr();
41
42 extern char *getenv();
43 extern char *strrchr();
44 extern int chmod();
45 extern int fread();
46 extern int fstat();
47 extern int fwrite();
48 extern int sscanf();
49 extern int stat();
50 extern int strtol();
51 extern int fileno();
52 extern char *strrchr();
53 extern char *ctime();
54 extern int _flsbuf();
55 extern int fclose();
56 extern int time();
57 extern int utime();
58 extern int vfprintf();
59 extern long atol();
60 extern char *getenv();
61 extern int fputc();
62 extern int unlink();
63
64
65 /* EXACT TYPES */
66 typedef char int8e_type;
67 typedef unsigned char uint8e_type;
68 typedef short int16e_type;
69 typedef unsigned short uint16e_type;
70 typedef int int32e_type;
71 typedef unsigned int uint32e_type;
72
73 /* CORRECT SIZE OR GREATER */
74 typedef char int8_type;
75 typedef unsigned char uint8_type;
76 typedef short int16_type;
77 typedef unsigned short uint16_type;
78 typedef int int32_type;
79 typedef unsigned int uint32_type;
80
81 #include "fopen-same.h"